Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #ifndef LAB3_QUEUE_H
  2. #define LAB3_QUEUE_H
  3. #define SIZE 100
  4.  
  5. class Queue {
  6. int arr[SIZE]{};
  7. int front;
  8. int rear;
  9.  
  10. int getFront() const;
  11. int getRear() const;
  12.  
  13. public:
  14. Queue();
  15. bool isEmpty();
  16. void displayQueue();
  17. void operator << (int value);
  18. void operator >> (int);
  19.  
  20. };
  21.  
  22.  
  23. #endif //LAB3_QUEUE_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement