#include #include void main() { WCStack > stack; stack.push( 7 ); stack.push( 8 ); stack.push( 9 ); stack.push( 10 ); cout << "\nNumber of stack entries: " << stack.entries() << "\n"; cout << "Top entry = [" << stack.top() << "]\n"; while( !stack.isEmpty() ) { cout << stack.pop() << "\n"; }; cout.flush(); }