#ifndef STACKH #define STACKH #include //for size_t using namespace std; typedef int value_type; //data type of each value contained in the stack const size_t stack_max_size = 100; class stack { value_type a[stack_max_size]; size_t n; //number of values currently in the stack public: stack() {n = 0;} ~stack(); void push(value_type i); value_type pop(); bool empty() const; bool full() const; size_t size() const; }; #endif