1. In a separate file create a file called PCB.h that we can use to keep information about a process control block. In this file you should define a PCB to be a structure that contains information a process. For the moment the only information that we need in the PCB is the process id (pid), the time the process is created (an int) and the time the process is completed (an int).

2. The list that you created for last week uses nodes that contain a field for the ListInfo. ListInfo is defined in a typedef to be an int. Modify your List.h and List.cpp files so that the ListInfo is the PCB that you defined in part 1.

3. Write a test program that creates an instance of the list that you defined in part 2, as well as several PCBs. Your test program should and add the PCBs to the list and should test all of the functions that you have in your List.h file. Your test program should also do some I/O with the PCBs, that is, make sure you can read in and print out PCBs.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.