Why does this happen?I see. I'd known about using getline, but it's great to know exactly why cin on its own doesn't work...
Why does this happen?Hey! I've been reading through Accelerated C++, and one of the exercises in the beginning has you tr...
"Opposite" of cin.fail()?Alright, that makes sense. Thanks!
"Opposite" of cin.fail()?Is there any way to detect when cin succeeds, like how cin.fail() looks for when it, well... fails?
I feel like I'm missing something obvious...Thanks!