class Stack {
  public:
    void Push(int elem);
    int Pop();
    int Peek();
  protected:
    const int Size = 100;
    int curtop;
    int body[Size];
};

/* ... implementations of Push, Pop, and Peek */

main() {
    Stack s;
    int i;

    s.Push(1);
    i = s.Pop();
}