Answers for "getline limit input"

0

getline limit input

string text;
getline(cin, text);
text = text.substr(0, 100);
Posted by: Guest on September-22-2020

Browse Popular Code Answers by Language