|When you enter a space ' ' while typing into cin, it will take the first string before the space as the first value and the later one as the next.|
so lets say we have this code
cout << "Enter your Name";
cin >> name;
cout << "Enter your age";
cin >> age;
now, lets say a user enters "John Bill"
it would take his name to be John and his age to be Bill.
Is there a way to
a) have the line automatically change it from a ' ' to a '_'?
b) Have it so that it will read that line as that line and have the space ' ' read as a normal character?