WHAT IS STREAM I/O IN C ?

Simons Hood

Total Post:70

Points:494
Posted by  Simons Hood
 1285  View(s)
Ratings:
Rate this:
Hi,

What is stream I/O in c++?

Thanks in advance. 
  1. AVADHESH PATEL

    Post:604

    Points:4228
    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!