| |
| META TOPICPARENT |
name="CSC121SylF2023" |
Inventory updates: Methods, files and command line arguments: Fall 2023
Learning Objective(s) |
| |
-
- The reorder level of each item
- The list of commands to be processed
- The temp file used when saving the results
|
|
< < |
- There should be at least 9 constants. 5 for the position of each filename in the command line and 4 for each type of comment
|
> > |
- There should be at least 9 constants. 5 for the position of each filename in the command line and 4 for each type of command
|
| |
- You should have one method that will process a single command.
- A method to copy one file of integers (unchanged) to another file would be helpful.
- A method to copy one file of integers (changing the integer on one specific line by adding another integer to it) to another file would be helpful.
|
| | Optional improvements
Optional improvements should ONLY be worked on once the program is completing working. In addition, the work is to be done on your own with little if any help for lab assistants or the instructor.
- Also have the program create another file (on command) with the list of items to be reordered based on current inventory levels
|
|
< < | |
> > |
- Adapt the files so that the list of items, inventory level and control level are all in one file.
|