Discussion:
Q: Implement a Stack class yourself - NOT using the STL. Your stacks should contain elements whose type is specified by the class user as a template parameter. Create a constructor which accepts a single argument giving the maximum size to which the stack can grow. Include methods named pop and push with the standard functionality, as well as a method named "empty" which determines whether the invoking stack object is empty. Include operator overloads for +=, =, and -- with the appropriate functionality. Test your Stack class by modifying the "test.cpp" code (provided) to use your Stack class template instead of the STL stack template.