//Header File: intStack3.h #ifndef INTSTACK3_H #define INTSTACK3_H #include using namespace std; class popOnEmpty { private: string message; public: popOnEmpty():message("Popping an empty stack...") {} string what() { return message; } }; class pushOnFull { }; const int maxSize = 10; class intStack { private: int top; int s[maxSize]; public: intStack(); void push(const int); int pop(); bool empty() const; bool full() const; }; #endif