Homework/HW03/Stack.cc
int Stack::bottom()
{
    if (!isEmpty())
        return *end();
    else 
    {
        cout << "attempt to find the bottom of an empty stack" << endl;
        exit(1);
    }
}
// Inspect the bottom object of the stack. Unorthodox function for a
// stack but necessary in the game.
Inspect the bottom object of the stack. Unorthodox function for a
stack but necessary in the game.
Inspect the bottom object of the stack . Unorthodox function for a stack but necessary in the game .
int Stack::bottom()
{
    if (!isEmpty())
        return *end();
    else 
    {
        cout << "attempt to find the bottom of an empty stack" << endl;
        exit(1);
    }
}
int Stack :: bottom ( ) { if ( ! isEmpty ( ) ) return * end ( ) ; else { cout << " " << endl ; exit ( 1 ) ; } }
Inspect the bottom object of the stack.
Inspect the bottom object of the stack .