#include "LinkedStack.h" #include "SLinkedList.h" #include using namespace std; int main() { //create a stack LinkedStack mystack; //test the stack mystack.push(1); mystack.push(25); cout << mystack.top() << endl; mystack.pop(); cout << mystack.top() << endl; }