Sheet2 - 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 Sheet2 Department of Computer Science Data Structures Spring 2007 This sheet is an educational one that aims at teaching the student the concept of modular programming and how to work with several modules (files) at the same time. The number of files in this very-small project is just 3. After getting familiar with the concept we will work with more files in the future, as applications require. Code all of the problems before attending the lab . 1. Write the implementation level of the array-based stack in a separate file and name it stack.c . Compose the header file stack.h that consists of the prototypes of the functions along with the definition of the stack element type StackEntry . For the moment, we can define StackEntry to be a character. Now, you have to include stack.h in stack.c ; why?...
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.

Ask a homework question - tutors are online