28.3 — Output with ostream and ios
In this section, we will look at various aspects of the iostream output class (ostream). The insertion operator The insertion operator (<<) is used to put information into an output stream. C++ has predefined insertion operations for all of the built-in data types, and you’ve already seen how you can …