// @topic W09-2-010 IntStack class using fixed-sixe array
// @brief main driver program using IntStack class

#include <iostream>
#include <cstdlib>
#include "int_stack.h"

int main()
{
    IntStack st;
    //std::cout << "top of st: " << st.top() << "\n";

    // stack operations demo:
    st.push( 11 );
    st.push( 22 );
    st.push( 33 );

    st.pop();
    std::cout << "top of st: " << st.top() << "\n";
    std::cout << "size of st: " << st.size() << "\n";

    system("pause");
    return 0;
}