Place the function definitions for Stack
in a separate file (stack.cpp
), modify the project file appropriately, and then build the
application. Explain the results.
How general is this application (i.e., what conditions must the class T
satisfy to be used here)?
What limits the size of a Stack<T>
?
Write a template Queue<T>
class and client code to test it.
[ fromfile: templates.xml id: None ]
Generated: 2012-03-02 | © 2012 Alan Ezust and Paul Ezust. |