0

How can I get many arguments with "std::cin" in Code Playground?

It is divided at every Space...

18th Nov 2017, 4:36 PM
êč€ëŻŒì€‘
êč€ëŻŒì€‘ - avatar
1 Answer
+ 1
You can do this, assuming you are inputing strings: string a, b, c; cin >> a >> b >> c; It's certainly not a good way to do it, but it works :/
18th Nov 2017, 11:39 PM
Zeke Williams
Zeke Williams - avatar