Cse 687 object oriented design
Download
1 / 3

CSE 687 - Object Oriented Design - PowerPoint PPT Presentation


  • 141 Views
  • Updated On :

CSE 687 - Object Oriented Design. Streams Reference. Jim Fawcett CSE687 Spring 2005. Streams Library Classes. Streams: Part of the Standard C++ Library. They are a family of related classes designed to insert and extract data from devices and memory buffers. The most important classes are:

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'CSE 687 - Object Oriented Design' - ossie


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Cse 687 object oriented design
CSE 687 - Object Oriented Design

Streams Reference

Jim Fawcett

CSE687 Spring 2005

Chapter 11 - iostreams


Streams library classes
Streams Library Classes

  • Streams:Part of the Standard C++ Library. They are a family of related classes designed to insert and extract data from devices and memory buffers. The most important classes are:

    • ios which controls formatting and manages error state for all streams

    • streambuf abstracts buffering of data during insertion and extraction from streams

    • istream provides the basic client interface for extraction from a stream

    • ostream provides the basic client interface for insertion into a stream

    • iostream simply merges istream and ostream.

    • ifstream derives from istream specialized for input streams that extract from files

    • ofstream derives from ostream specialized for output streams that insert to files

    • filebuf derives from streambuf specialized for file buffering

    • istringstream derives from istream specialized for input streams that extract from buffers in memory

    • ostringstream derives from ostream specialized for output streams that insert to buffers in memory

    • stringbuf derives from streambuf specialized for in- memory buffers

    • stdiobuf provides compatibility with stdio

  • Global objects:

    • cin, cout, cerr, and clog

Chapter 11 - iostreams


Iostream hierarchy
iostream Hierarchy

Chapter 11 - iostreams


ad