如何打印EOF的值?

熱心網友

eof是一個布爾型的值,是或否。

熱心網友

int a;a=eof(pFile);printf("%d\n";pFile);應該是這樣吧,我沒試