This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Faculty of Computers and Information Faculty of Computers and Information Faculty of Computers and Information Faculty of Computers and Information Sheet3 Department of Computer Science Data Structures This sheet is an example of using more than one data structure in a single application. You are required to write a program that keeps track of the customers visiting a car workshop (as explained below); the program utilizes two data structures, a stack and a queue to have customers data in particular orders. Before coding the program succeed first in linking the three files, stack.c , queue.c , and main.c ; follow the following guide. Since the element type of the stack, queue, and the main program is the same, we need to be more structured and organized and define this common element type in a separate file global.h . In this file we should have all the definitions that are common to all of the three modules; these definitions are: • the maximum stack size • the maximum queue size •...
View Full Document
This note was uploaded on 01/06/2011 for the course CS 214 taught by Professor Waleeda.yousef during the Spring '10 term at Helwan University, Helwan.
- Spring '10
- Data Structures