Up to this point we have gotten input from the keyboard and returned output to the monitor. We can also use disk files to serve as input sources and output recipients. Both streams have prototypes in iostream.h .
Similar definitions are available to use disk files as input sources and output sources.
We can then bind them to specific disk files and use them for either input and output. This is necessary for subsequent use of the same file for input purposes. The data files for input are text files. They may be created with xemacs, pico, or vi. Finish the line with a return from the keyboard.