C++ Language/Std/Iostreams

From Wikibooks, open books for an open world
Jump to navigation Jump to search

A "stream" uses operator << to stream from general-purpose-data into a character sequence. A stream uses operator >> to stream the other direction.

  1. Stringstream
  2. Streaming Custom Types