Next: About this document ...
Up: File Errors
Previous: Bad File

Checkoff

If you are writing a program that will be used a lot, it is good practice to write it so that it catches and reports I/O errors of the sort described in this lesson.

Modify the program that you wrote to check off the last lesson so that it can deal with an input file with any number of lines. It should

Remember--your last line of data must be followed by a newline!

Homework

There is no homework with this lesson.


Next: About this document ...
Up: File Errors
Previous: Bad File

Hamlet Project
hamlet@cs.utah.edu