The <string> header file

Several different things are worthy of note in Listing 1.

For example, the <string> header file must be included in order to use the insertion operator along with cout to display a variable of type string.  Otherwise, a compilation error results.