/** * @title: stack2730.h * @date: 2004.07.15 - 9:01 pm * @author: vinnie * @ header file for the class Stack2730 */ class Stack2730 { public: Stack2730( int = 5, int = 1, int[] = 0 ); ~Stack2730( ); // *** accessor functions *** bool empty( int = 0); bool show( int = 0); bool room( int = 0); int getArrSize( int = 0); int getNumStacks( ); int top( int = 0); // *** modifier functions *** bool push( int, int = 0); int pop( int = 0); void flush( int = 0); private: // number of stacks int numStacks; // index, or offset int *ind; // lenght of stack int *size; // array of stacks int **stack; };