Difference: CSC121F2023Lab08 (2 vs. 3)

Revision 32023-06-22 - cathybareiss

Line: 1 to 1
 
META TOPICPARENT name="CSC121SylF2023"

Inventory updates: Methods, files and command line arguments: Fall 2023

Learning Objective(s)

Line: 23 to 23
 
    1. The reorder level of each item
    2. The list of commands to be processed
    3. The temp file used when saving the results
Changed:
<
<
  • 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.
Line: 55 to 55
 

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
Changed:
<
<
>
>
  • Adapt the files so that the list of items, inventory level and control level are all in one file.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback