//-----------------------------------
//Stack.h
//-----------------------------------
const int SIZE =10;
//-----------------------------------
class Stack{
int stck[SIZE]; // holds the stack
int tos // index of top-of-stack
public:
Stack():tos(0){}
int top() const;
void push(int ch); // push integer to stack
void pop(); // pop integer from stack
};//---------------------------------