Wrong usage of cin.eof()?

Printable View