Edit, compile, and run the following program on the UH UNIX shell:
Create a derived class called
DisplayStack (which inherits all data members and member functions of class
Stack) which overloads the
When you output the contents of an object, it should not change the contents of an object.
In other words, you should not use function pop() for this assignment.
Instead, you should loop through the linked nodes.
See file assignment25.cpp for starter code and example output (at bottom of file).
Email your makefile and C program to the instructor, or show it to the instructor in class.
For the submission guidelines and the grading guidelines, see the syllabus.