#include #include "Vstack.h" // Doesn't know about Array_stack or Link_stack template void Gstack :: reverse( int n ) { int i; for( i = 0; i < n; i++ ) { this->push((T)('a'+i)); } for( i = 0; i < n; i++ ) { cout << this->pop() << ' '; } cout << endl; }