Tags:
tag this topic
create new tag
view all tags
---+Hint to process a comment (lab 8) * get the item from the command file * find the location of it in the items file * if the instruction is to display the stat, just call a method * If the instruction is to add things to the stock of that item * get the amount from the command line * change the inventory file (send the line number, amount, name of inventory file, and name of output file) * if the instruction is to remove things from inventory * get the amount from the command line and make it negative * change the inventory file (send the line number, amount, name of inventory file, and name of output file)
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2023-06-20
-
cathybareiss
Home
Site map
Assessment web
BethelAIResources2026 web
CenterForComputing web
ChatGPT web
Intro2AIatBethel web
Main web
Sandbox web
TWiki web
CenterForComputing Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 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