Home arrow C++ arrow Iostream Library and Basic I/O in C++
C++

Iostream Library and Basic I/O in C++


The foundation of every relationship is communication. The quality of the communication is the first factor that determines the way the relationship evolves. This statement also holds true in the world of C++, and to raise the quality of communication, a library called iostream has been implemented.

Author Info:
By: Gabor Bernat
Rating: 5 stars5 stars5 stars5 stars5 stars / 6
March 24, 2009
TABLE OF CONTENTS:
  1. · Iostream Library and Basic I/O in C++
  2. · The Iostream Library
  3. · Basic I/O in C
  4. · Conclusion

print this article
SEARCH DEVARTICLES

Iostream Library and Basic I/O in C++
(Page 1 of 4 )

C++ evolved from C, and when the old style C functions of printf/scanf proved not to be secure enough and offered some major limitations, the decision was made to replace them with something more practical. The solution offered was  streams.

What streams represent in their basics and what they should do in theory I have already explained in a separate article published here on the Developer Shed Network. The article is titled Introduction to Streams. Read it before you venture further into today's article to fully comprehend this one.

This is part of the series that continues our insight into every little dark corner of streams. Today we will see how the iostream library is built, what it offers, and endeavor to detail the basic input/output operation to the screen maintained by the cin, cout stream.

The input/output functionality is not defined in the core of the C++ language; rather, it is provided inside a library, and thanks to this, you are going to find it inside the STL library.


blog comments powered by Disqus
C++ ARTICLES

- Intel Threading Building Blocks
- Threading Building Blocks with C++
- Video Memory Programming in Text Mode
- More Tricks to Gain Speed in Programming Con...
- Easy and Efficient Programming for Contests
- Preparing For Programming Contests
- Programming Contests: Why Bother?
- Polymorphism in C++
- Overview of Virtual Functions
- Inheritance in C++
- Extending the Basic Streams in C++
- Using Stringstreams in C++
- Custom Stream Manipulation in C++
- General Stream Manipulation in C++
- Serialize Your Class into Streams in C++

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials