Use of I/O Operators

INPUT / OUTPUT statements of C++ can be used for input of data from an input device such as a keyboard or to obtain output on output devices such as VDUs and printers.
In C++, input/output devices are treated as files; files are treated as a sequence or a stream of bytes. In other words, a stream in C++ means a flow of bytes from an input device to the CPU(input stream) and from the CPU to an output device (output stream).
Streams used for input and output are: LEARN MORE >>

No comments: