Next: Reading from a file
Up: Programming with Fortran

File I/O

Before you begin this lesson, you should read chapter 10 of the text.

So far, all of the input we have done has been from the keyboard, and all of the output has been to the display. In this and the next lesson, we will learn how to read from and write to files. In this lesson, we will look at basic file I/O by assuming that certain error conditions (such as end of file) do not occur. In the next lesson, we will look at how to deal with error conditions.

You need to copy some files before we begin.

Click here to copy files




Next: Reading from a file
Up: Programming with Fortran

Hamlet Project
hamlet@cs.utah.edu