Answers for "how to give string input in a running program c++"

C++
23

input a string in c++

string fullName;
cout << "Type your full name: ";
getline (cin, fullName);
cout << "Your name is: " << fullName;
Posted by: Guest on May-04-2020

Code answers related to "how to give string input in a running program c++"

Browse Popular Code Answers by Language