getline
1234
string name; cout << "please enter your full name: \n"; // prompting the user // getline (cin,name); // user input which is name // cout << "welcome: " << name << endl;