Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

read a whole line from the input

string s;//possibly containing spaces
getline(cin, s);
 
PREVIOUS NEXT
Tagged: #read #line #input
ADD COMMENT
Topic
Name
2+8 =