I'm trying to understand I/O Streams in more detail, and for this, I'm reading the "The C++ Programming Language" by Stroustrup, 4th edition. Right at the beginning of Chapter 38, page 1073, one finds the following two statements:
An ostream converts typed objects to a stream of characters (bytes).
An istream converts a stream of characters (bytes) to typed objects.
Aren't the words ostream and istream switched in the explanation given above?
Aucun commentaire:
Enregistrer un commentaire