Lecture 3 - Slide 18 : 27
Standard streams - and files
Like most other programming languages C++ supports a number of standard input and output streams
The C++ Prog. Lang. (3. edition)
:
Page 609, 614
The C++ Prog. Lang. (4. edition)
: Page 91-95
The C++ Prog. Lang. (4. edition)
: Page 1075
cin
Standard character input
- typically defaulted to a keyboard
cout
Standard character output
- typically defaulted to a screen
cerr
Standard character error output
- unbuffered
clog
Standard character error output
- buffered
Opening, working on, and closing a file - as simple as possible.