how to input a string in c++ code example
Example 1: how to output text in c++
std::cout << " Something ";
Example 2: input a string in c++
string fullName;
cout << "Type your full name: ";
getline (cin, fullName);
cout << "Your name is: " << fullName;