C++ ``Dynamic Stack'' class


This is a similar version of the previous dynamic-stack example, but using a C++ class, rather than a structure.

Compile with g++, using the command:
g++ -o tdstack tdstack.cc dstack.cc

or CC, using the command:
CC -o tdstack tdstack.cc dstack.cc

to create the executable ``tdstack''.

Source and header files: