C++ complete classes
$15-20 USD
货到付款
It's c++ project , classes need to be complete and the project has to be fonctional. This program used to validate a work schedule.
in input: From standard input (std :: out), your program receives: (1) the inventory of available resources. and (2) a list of tasks.
Inventory. Symbols are used to facilitate reading (parsing). An asterisk (*) announces a resource while a dash (-) announces the end of the list.
Task. A task contains a number, period of employment and a list of resources used. The period consists of two phases: early and late. The time can be represented using integers (int). The list of resources used is exactly the structure that an inventory.
in ouput : After each task read as input, your program must determine whether the resources can be booked throughout the period requested.
If the answer is positive, the program must:
Display "OK" over the job number on one line.
Remember the allocation of resources in the diary.
If the answer is no, your program must:
Display "Error:" plus the number of the task on one line.
Do not store the allocation of resources in the diary.
Optionally, a single line, write "Conflicts:" the numbers of tasks in conflicts.
项目ID: #2760592