Answers for "c++ strings with spaces"

C++
7

how to make string get spaces c++

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

read string with spaces in c++

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

Browse Popular Code Answers by Language