Zebra0.com

cpp strings

This program asks the user for their name. With cin, it only reads until the first space or a new line. Instead we use the getline function to read the entire line.