CS3323 Jiangsu University of Technology Program and Images Project – coursefighter.com
Programming – coursefighter.com
Implement a stack using Vector. the program should contain the following member function and the stack should be data type independent.
1. push element into stack
2. pop element into stack
3. retrieve top element of the stack
4. check if the stack is empty
5. display the contents of the stack
6. show the current size of the stack
submit the cpp implementation file and the driver/test file.
also upload the CMD/CLI screen shot of the result after execution of the program depicting the use of the member functions .