|
|
Does the if statement just check the error flags without touching the input? |
Also, if you enter the wrong type of input on the first line, then is temp left unchanged and the input not read? |
Do further calls to cin return false until cin.clear() is used? |
Are the fail(), bad(), and good() methods only used for testing file input? |