// Test program for my stack class.


#include <iostream.h>
// Get my stack class.
#include "stack.h"


int main() {

    stack<int> first;
    stack<int> second(1);

    first.push(2);
    first.push(9);
    second = first;

    first.pop();
    first.push(17);
    cout << "first:\n";
    cout << first;
    cout << "second:\n";
    cout << second;

    return 0;

}
