I woud like to ask what is return value of cin? I know it is istream object and when it is used in expression like if(!cin)
there is actually called some function and I woud like to know what function it actually is. cin.fail() or cin.good() or..
Is if(!cin) same as if(cin.fail())?
Asked
Active
Viewed 3,493 times
2
![](../../users/profiles/1505497.webp)
user1505497
- 201
- 5
- 11
-
http://stackoverflow.com/questions/5695146/what-is-cin-doing-inside-argument-of-if – Suvarna Pattayil Oct 15 '13 at 15:35