
34 Input and Output in C++
between C and C++ I/O function is that C functions do not support object-oriented platform
whereas C++ supports object-oriented platform.
3.2 STREAMS IN C++ AND STREAM CLASSES
The C++ supports a number of I/O operations to perform read and write operations. These
C++ I/O functions help the user to work with different types of devices such as keyboard, disk,
tape drivers, etc. Stream is an inter-medi-
ator between I/O devices and the user. The
standard C++ library contains the I/O stream
functions. The I/O functions are part of the
standard library that provides portability to
the language itself. ...