What is stream I/O in c ?

Posted by  Simons Hood
 1874  View(s)
Rate this:

What is stream I/O in c++?

Thanks in advance. 
  1. Re: What is stream I/O in c ?

    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.