Use the correct function to read a line of text which is put in by the user.
string fullName;
cout << "Type your full name: ";
@(7) (cin, fullName);
cout << "Your name is: " << fullName;
string fullName;
cout << "Type your full name: ";
getline (cin, fullName);
cout << "Your name is: " << fullName;