Skip to content

walac/buffer-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

A simple buffer reading exercise

Build

$ mkdir build
$ cd build
$ cmake ..
$ make

Run

$ ./buffer

It accepts the following commands:

  • exit - quit the program
  • value:priority - where value and priority are 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors