+ 1

What are some alternatives to cin?

Cin only detects one word, and that's bad. What are some alternatives?

3rd Dec 2017, 2:57 PM
thebbcismymain
1 Answer
+ 5
std::string str; std::getline(std::cin, str);
3rd Dec 2017, 3:02 PM
aklex
aklex - avatar