Why the eof returns false when it should return true?

Printable View