"feof"是个多义词,它可以指feof(函数名),feof(检测流文件指针是否已到达文件结尾)。
blog.163,则返回值为1://langkes:feof(文件指针):判断文件是否处于文件结束位置; 功能.163文件检测函数C语言中常用的文件检测函数有以下几个。
基于72个网页-相关网页
... fclose — 关闭一个已打开的文件指针 feof — 测试文件指针是否到了文件结束的位置 fflush — 将缓冲内容输出到文件 ...
基于9个网页-相关网页
feof fgetc 由文件中读取一个字符
The feof command detects whether you have already read to the end of the file and returns True or False.
feof命令将检测您是否已经读到文件的末尾并返回True或False。
Note that feof also returns False if you're reading a URL and the socket has timed out because you no longer have data to read.
如果读取的是URL并且套接字由于不再有任何数据可以读取而超时,则feof也将返回False。
应用推荐