Go backward to Compiling and Debugging
Go up to Top
Go forward to Epilogue
Example: A Stack of Integers
We've provided the complete, working code for the stack example. You should
read through it and play around with it to make sure you understand
the features of C++ described in this paper.
To compile the simple stack test, type make all -
this will compile the simple stack test (stack.cc),
the inherited stack test (inheritstack.cc), and
the template version of stacks (templatestack.cc).
HTML generated March 19, 1996, by email@example.com