Concept of Stream and It's bytestream class in c++

Concept of streams:- Concept of stream A stream is general name given to flow of data A stream is a sequence of byte. The source stream that provides data to programs is called input stream. The destination stream receive output from the program is called output stream. In header <iostream>, a set of class is defined that supports I/O operations. The classes used for input/output to the devices are declared in the IOSTREAM file. The classes used for disk file are declared in the FSTREAM file. Input/output stream :- Input and output stream in c++ Stream class for console I/O operations :- stream class in c++ ios class contains basic facilities that are used by all other input and output classes (Necessary for formatted input/output). Also contains pointer to a buffer object(streambuf). streambuf provided an interface to physical devices through buffer. iostream class inherits proper...