// StackType.h in StackType1/
//stack implemented with static array

typedef int ItemType;       //don't need ItemType.h

const int MAX_ITEMS=1000;

class StackType
{
public:

    StackType();

    void MakeEmpty();

    bool IsFull() const;

    bool IsEmpty() const;

    void Push(ItemType item);

    void Pop(ItemType& item);

private:
    int top;
    ItemType  items[MAX_ITEMS];	   
};

