Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #ifndef STACK_H
  2. #define STACK_H
  3. #include <node.h>
  4.  
  5. using namespace std;
  6.  
  7. class stack
  8. {
  9. public:
  10. stack();
  11. void headInsert(string value);
  12. void tailInsert(string value);
  13. string headRemove();
  14. virtual ~stack();
  15.  
  16. private:
  17. Node *head;
  18. Node *tail;
  19. };
  20.  
  21. #endif // STACK_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement