// stack.h: the Stack class definition. // A Stack of chars. class Stack { public: // interface. Doesn't require knowing actual implementation Stack(); // constructor (initializer) void push (char c); // push c onto stack. char pop(void); // pop top of stack. Return 0 if already empty. int is_empty(void); // is it empty? private: static const int MAX_SIZE=1000; char array[MAX_SIZE]; int size; };