created: June 6, 2000; revised: July 7, 2002
This chapter explains how to create a text file on the hard disk and how to write character data to it.
In a previous chapter you used command line redirection to write text files. This told the operating system to create a file and to send your program's output to it. In this chapter your program has control of file creation and writes output to it.