In class Design
main
Open the traction file
Read in a file name
while there are files to process
Process the file
Read in a new file name
Close all files
Question: What if the input file does not exist?
Ask the customer.
OpenTransactionFile()
Input: none
Output: the open file stream.
file open operation
ReadFileName
input: open file stream
output the new file name
read the next line from the file
append .order to the file name
ProcessTheFile
Input: the file name
Output: ??
Open the file:w-resize
if the file can not be opened
Print error message
else
ProcessAFile