11The I/O Stream Library and Input/Output

As in the C language, there is no input/ output statement in C++. However, there is an object-oriented input/output software package in C++, i.e., the I/O stream library. Stream is the key concept of an I/O stream. In this chapter, the concept of stream and then the structure and the use of stream library will be introduced. A more detailed explanation and description of classes and the members of the stream library can be found in the reference book of the running libraries of compiler system.

11.1I/O Stream’s Concept and the Structure of a Stream Library

An I/O stream library is a replacement product of the C language I/O function in object-oriented program design.

As introduced in Chapter 2, we conceptualize ...

Get C++ Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.