Note 11.7.1.
You can use getline to read an entire line from any stream, including
cin
. To use it on cin
you would do something like getline(cin, stringVariable)
.