Hi I created this simple queue library using doubly linked lists. I also included a demo to see how it works.
The usage is simple, compile the source code with the Makefile and run the program passing as arguments the content of the Demo.txt file.
$ make -C Source/
$ ./Main $(< Demo.txt)
The code will iterate over all the arguments and if it finds a number, it will enqueue it to the Queue but if a hyphen is founded it will dequeue the first element of the Queue.