CSCI 146: Lab 8 Materials
The main goal of Lab 8 (to be held on October 27 and 28, 1997)
is to gain familiarity with the use of stacks and queues. Other important
goals of this lab is to review various stream input functions, such as ignore
and peek, and review how the overloaded input operator works. A program to
recognize word palindromes will be implemented.
The following activities will be carried out in the lab:
- Download stack header file, stack1.h
from the world-wide web.
- Download stack implementation file (for static array implementation),
stack1.tem.
- Review these two files.
- Do the same for the array implementation of the queue, queue1.h and
queue1.tem.
- Do the same for the dynamic array implementation of the string, mystring.h and
mystring.cxx.
Create a workspace and a project using Visual Studio.
- Carry out programming project 1 on p.384 of the text.
- Test your work.
Here is a solution for this lab.