Advertisement
Evinreeder

queque.h

Apr 30th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #pragma once
  2. #include "node.h"
  3. #include <iostream>
  4. struct queue {
  5. node *head;
  6. node *tail;
  7. };
  8.  
  9. // queue library prototypes
  10. void initQ(queue & q);
  11. void printQ(queue & q);
  12. void enQ(queue & q, int key);
  13. int deQ(queue & q);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement