A simple buffer reading exercise
$ mkdir build
$ cd build
$ cmake ..
$ make$ ./bufferIt accepts the following commands:
- exit - quit the program
value:priority- wherevalueandpriorityare integers. Insert the value in the queue according to its priority. The queue is a min queue: the lowest the priority number the higher the priority.- print - print the queue
- get - get the first element in the queue