Answers for "c++ enter name and surname one string"

C++
0

c++ enter name and surname one string

cout<<"Enter name"<<endl; //includes surname
getline(cin, name); // assum name is std::string

cin.getline(name, sizeof(name)); // assumes name is a character array
Posted by: Guest on June-13-2021

Code answers related to "c++ enter name and surname one string"

Browse Popular Code Answers by Language