C++
  Home arrow C++ arrow Iostream Library and Basic I/O in C++
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
C++

Iostream Library and Basic I/O in C++
By: Gabor Bernat
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-03-24

    Table of Contents:
  • Iostream Library and Basic I/O in C++
  • The Iostream Library
  • Basic I/O in C
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Iostream Library and Basic I/O in C++


    (Page 1 of 4 )

    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.

    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.

    More C++ Articles
    More By Gabor Bernat


     

    C++ ARTICLES

    - 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++
    - Advanced File Handling with Streams in C++
    - File Handling and Streams in C++
    - The STL String Class







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    Stay green...Green IT