// @topic W09-2-020 IntStack class using fixed-sixe array
// @brief class IntStack declaration
#ifndef INT_STACK_H_INCLUDED_
#define INT_STACK_H_INCLUDED_
class IntStack
{
static const int DEFAULT_SIZE = 1;
int memory_block[ DEFAULT_SIZE ];
int top_of_stack; // = 0;
public:
// constructors
IntStack(); // default constructor
// operations
void push( int value );
void pop();
int top();
int size(); // how many elements stack has
};//class IntStack
#endif // INT_STACK_H_INCLUDED_