Standard Streams - Iostream Naming Convention

Iostream Naming Convention

iostream library uses c prefix instead of std for naming standard streams. In addition to cin, cout and cerr, it offers the clog standard stream, similar to cerr, but buffered. iostream is typically used in the C++ language and the streams are under the std namespace, thus std::cout << "hello world";.

Read more about this topic:  Standard Streams

Famous quotes containing the words naming and/or convention:

    The night is itself sleep
    And what goes on in it, the naming of the wind,
    Our notes to each other, always repeated, always the same.
    John Ashbery (b. 1927)

    The metaphor of the king as the shepherd of his people goes back to ancient Egypt. Perhaps the use of this particular convention is due to the fact that, being stupid, affectionate, gregarious, and easily stampeded, the societies formed by sheep are most like human ones.
    Northrop Frye (b. 1912)