Program 4  Advanced Print Queue solution

$19.99

Original Work ?
Category: You will Instantly receive a download link for .ZIP solution file upon Payment

Description

5/5 - (1 vote)

Make a directory called “PG4” in the root of your CS222-01-14W folder. Place all the source code and include files in this directory. Place a (possibly empty) file called “DONE” into this folder when you are ready for your program to be graded.
Expanding on PG3, you are to program a more advanced print queue that allows the user to specify an integer priority for the job. Jobs with lower priority numbers print before jobs with higher priority numbers. If there is more than one entry with the same lowest priority number, the entry that was submitted first prints first.
You also have the ability to remove jobs from the queue before they are printed.
Your program should read all commands from the keyboard and print all responses to the screen.
The commands are:
SUBMIT