Eof

Why is while feoffile  always wrong

Why is while feoffile always wrong

What is incorrect with utilizing feof to power a publication loop For illustration see ltstdiohgt see ltstdlibhgt int chiefint argc char argv char way stdin