Home > DeveloperSection > Forums > What is stream I/O in c ?
Simons Hood
Simons Hood

Total Post:70

Posted on    June-15-2013 12:21 AM

 Visual C++ Visual C++ 

 1 Reply(s)
 966  View(s)
Rate this:

What is stream I/O in c++?

Thanks in advance. 


Total Post:604

Posted on    June-15-2013 4:38 AM

The c++  I/O system,like the c I/O system,operates through streams.A stream is a logical device that either produces or consumes information.A stream is linked to a physical device by the c++ I/O system.
All streams behave in same manner ,even if the actual physical devices they are linked to differ.Because all the streams acts the same,the I/O system presents the programmer with a consistent interface,even through it operates on devices with differing capabilities.
When a c++ program begins execution,three predefined streams are autometically opend:stdin,stdout,and stderr.

Don't want to miss updates? Please click the below button!

Follow MindStick