//stackx.h //header file for class Stack implemented using array #ifndef STACKX_H #define STACKX_H typedef int Type; class Stack { public: Stack(int); ~Stack(); void push(Type); Type pop(); int isempty(); void print(); private: int isfull(); int top; Type *val; int size; }; #endif