My C++ book gives the following example regarding cout:
cout << "literals" << "to be" << "printed" ;
Then, it goes on to say:
The statements starts with the name of the output stream, cout
This seems to imply that there are other streams. Are there other output streams besides cout in C++? What are they?
Some examples:
std::cerrvalue from<iostream>– standard error streamstd::fstreamtype from<fstream>– file input and file output streamsstd::stringstreamtype from<sstream>– string streams