I'm working on a Printing Function for my stack, where I create a temporary stack to store the (popped) values of the user implemented stack. They get pushed onto the temp stack, then popped off the temp stack (to retain element order) and printed before the pop back to the original Stack.
The Problem resides in calling a class member function for the temporary stack.
I could just code out my pop & push again for my temp stack, but my instructer would yell at me.