Sheet3 - Faculty of Computers and Information Faculty of...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

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

{[ snackBarMessage ]}

Ask a homework question - tutors are online