//tstmystack.cpp //g++ tstmystack.cpp; ./a.out #include #include "mystack.h" using namespace std; int main( ){ MyStack x; x.push(880); x.push(770); x.push(53); while(!x.empty()){ cout << x.top(); x.pop(); } cout << endl; }