Answer

As before, we initialize the file pointer variable by calling fopen. This time, though, the second argument is "r" instead of "w", which indicates that we want to read from (and not write to) the file.

Return to lesson.



Joseph L. Zachary
Hamlet Project
Department of Computer Science
University of Utah