文法:
#include <cstdio> int feof( FILE *ストリーム );
渡されたストリームがファイルの終端に達していた場合には、feof()関数は0でない値を返します。
関連トピック: clearerr, ferror, getc, perror, putc