cplusplus-primer-5ed-notes/part_ii/chap8_the_io_library.md

360 B

Chapter 8. The IO Library

  • C++ use various types in std IO libraries to handle IO.

List of C++ classes to handle IO:

  • istream (input stream) type, for input operations
  • ostream (output stream) type, for output operations
  • cin (an istream obj) reads std input
  • cout
  • cerr (an ostream obj) for program error messages, writes to std error