November 2001
Beginner
1128 pages
29h 12m
English
You will learn about the following in this chapter:
The iostream family of classes
ostream class methods
Formatting output
Using the ifstream class for input from files
Using the ofstream class for output to files
Using the fstream class file input and output
Discussing C++ input and output (I/O, for short) poses a problem. On the one hand, practically every program uses input and output, and learning how to use them is one of the first tasks facing someone learning a computer language. On the other hand, C++ uses many of its more advanced language features to ...
Read now
Unlock full access