//stackt.h //header file for class Stack template implemented using array #ifndef STACKT_H #define STACKT_H #define TOS 100 // Max elements in stack template class Stack { public: Stack(); void push(Type); Type pop(); Type topval(); int isempty(); void print(); private: int isfull(); int top; Type val[TOS]; }; #include "stackt.inl" #endif