This video explains how to use the queue class from the C++ standard library. It is shown:
How to add an element to a queue using the push function
How to get an element from a queue using the front function
How to remove an element from the queue using the pop function.
How to check if a queue is empty or not
The queue class implements the queue ADT. Watch the following video to learn what a queue is:
• Data Structures: What is a Queue?