Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

read string with spaces in c++

#include <string>
string s;
getline(cin, s);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #string #spaces
ADD COMMENT
Topic
Name
3+9 =