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.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Can you answer this question?
Write Answer1 Answers