#ifndef STACK_H_ #define STACK_H_ #include "Node.h"; using namespace std; class Stack { public: // create an empty stack Stack(); // copy constructor for a stack Stack(const Stack & orig); // destroy nodes in stack ~Stack(); Stack & operator= (const Stack & rhs); // push elt on the stack void push(string elt); // pop elt from the stack void pop(); // return top element from the stack string top() const; bool isEmpty() const; void clear(); int size() const; void printString() const; private: Node * head; int theSize; }; #endif /*STACK_H_*/