Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef STACK_H
- #define STACK_H
- #include <node.h>
- using namespace std;
- class stack
- {
- public:
- stack();
- void headInsert(string value);
- void tailInsert(string value);
- string headRemove();
- virtual ~stack();
- private:
- Node *head;
- Node *tail;
- };
- #endif // STACK_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement