Input and Output

Strings are well-known for their use in input and output of data. Let's look at how this is done.

We'll cover the following...

A string can read from an input stream via >> and write to an output stream via <<.

The global function getline empowers us to read from ...