CS167 C Programming
Spring 1998
The wood-screw inventory: revisited
Goals
To write a program that uses file handling functions.
Problem description
Take your wood-screw inventory program and modify it to work with files. The internals can remain exactly the same, but input must come from a file, and output must also go to a file. The names of these files are to be specified on the command line when you run the program. e.g.
% a.out inputfile outputfile
Deliverables:
6 1000
4 500
12 100
8 -255
4 -62
10 -720
8 500
4 100
9999 0
Notes and hints
Due Date
Submit your completed assignment before 5pm. on Monday April 27th.