Why `while (!stream.eof())` Is Wrong in C++ iostreams | CodeTrail