Answers for "how to get a string with space in cpp"

C++
8

how to make string get spaces c++

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

read string with spaces in c++

#include <string>
string s;
getline(cin, s);
Posted by: Guest on June-08-2021

Code answers related to "how to get a string with space in cpp"

Browse Popular Code Answers by Language