Advertisement
Guest User

Untitled

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