Stacks and Queues

Due: 5 Mar 2008

Educational objectives:

Statement of work: (i) Implement generic stack and queue classes, and (ii) use your stack class to evaluate a recursive function.

Deliverables:

Requirements:

Sample executable: A sample executable is available at ~cop4530/spring08/solutions/proj4/recurse on linprog. The first person to find errors in our program will get a bonus point!

Notes:

  1. You should not use the STL list, vector, deque, stack, or queue classes. You may use the string class. Please get my permission before using any other STL feature.
  2. We will test your stack and queue classes on entirely different applications. So it is important for these classes to be generic and exactly as specified.

Last modified: 19 Feb 2008