Homework
Your assignment is to write a class stack which is capable
of the following operations:
push(int i); // Push an integer on to the stack
int pop(); // Return the integer on the top of the stack,
// and remove it from the stack
int size(); // Returns the number of elements on the stack
Make sure to create a header file (stack.h) and another file to
contain the bodies of the functions (stack.cc). You should use
a Makefile. Don’t write a main(); put the code in the next
slide in its own file (driver.cc) and link them together.
YOU CAN’T CHANGE ANY CODE IN DRIVER.CC!