Answers for "In C++, what function can be used for inputting a string containing spaces?"

C++
7

how to make string get spaces c++

string s;
getline(cin,s);
Posted by: Guest on June-02-2020

Code answers related to "In C++, what function can be used for inputting a string containing spaces?"

Browse Popular Code Answers by Language