[ad_1]
stringstream::operator>>(string)? that’s where you need to look at.
like this:
istringstream str("no reason");
string oneword = "";
str >> oneword;
1
[ad_2]
solved How to make it only read ONE word in C++ [closed]
[ad_1]
stringstream::operator>>(string)? that’s where you need to look at.
like this:
istringstream str("no reason");
string oneword = "";
str >> oneword;
1
[ad_2]
solved How to make it only read ONE word in C++ [closed]