This is an implementation of an integer queue in C++. The queue is a class with no initial arguments. There are 4 functions for this queue: push(int) which adds an integer to the queue. pop() which removes the first element of the queue. peek_pop() returns the integer in the front and then removes the first integer in the queue. peek() displays the item at the front of the queue.
This is an implementation of an integer queue in C++. The queue is a class with no initial arguments. There are 4 functions for this queue: push(int) which adds an integer to the queue. pop() which removes the first element of the queue. peek_pop() returns the integer in the front and then removes the first integer in the queue. peek() displays the item at the front of the queue.