recently i found out that cin doesn't just ask for input, it also can do cin.fail and stuff. What the heck are those? I don't know about those things... maybe tell me briefly about it?
I recommend doing some of your own research when you wonder about something as common as cin. If something is not clear then this would be a good place to ask.