+ 1

How to get string with space

27th Jan 2019, 6:06 AM
Easa
Easa - avatar
6 odpowiedzi
+ 7
string str; getline(cin, str);
27th Jan 2019, 6:26 AM
ShortCode
+ 5
Please tell us what language youre asking for.
27th Jan 2019, 6:07 AM
ShortCode
+ 2
Do you mean reading a full line? Use getline.
27th Jan 2019, 6:09 AM
ShortCode
+ 1
Ok
27th Jan 2019, 6:10 AM
Easa
Easa - avatar
+ 1
How to use that
27th Jan 2019, 6:10 AM
Easa
Easa - avatar
0
C++
27th Jan 2019, 6:07 AM
Easa
Easa - avatar