Skip to main content



C++ Input/Output : Streams

In this article, you will learn about Streams Based Input/Output in C++ .The input/output operations which involve keyboard as input device and screen as output device are known as Console I/O operations . The input/output operations which involve file as input device and output device are known as File I/O operations C++ Input/Output implement concept of stream .It is an object-oriented alternative to C's FILE-based streams from the C standard library.Stream is the sequences of bytes or flow of data , which acts as a source from which the input data can be obtained by a program or a destination to which the output data can be sent by the program.
Input Stream :It is flow of data bytes from a device (e.g Keyboard , disk drive) to main memory Output Stream : It is flow of data bytes from main memory (i.e program) to a device
Stream Class Hierarchy
Stream class is the collection of data and the methods necessary to control and maintain flow of data or stream .These stream class are …

Latest Posts

Exception Handling


Copy Constructor

Defining a Structure

C program to find Transpose of Matrix.

C program to check if the supplied year is leap year or not.

C program to print even numbers between given two numbers.

Structure Learning for both novices and advanced programmers

C Programming Quiz online on input and output

Fibonacci series using recursive function