Getline(cin,/*...*/,'/n')
Cin>>/*....*/
1234
std::cout << "enter your name: "; std::string line; std::cin >> line; srd::cout << line;
enter your name: Maria Rosa Coccia Maria
std::cout << "enter your name: "; std::string line; std::getline(std::cin, line); srd::cout << line;
enter your name: Maria Rosa Coccia Maria Rosa Coccia
getline
>>