eof为end of file的缩写,在抄操作系统中表示资袭料源无更多的bai资料可读du取。do while not eof(1)解释:判断当zhieof(1)的值为true时停止do循环。使用daoeof是为了避免因试图在文件结尾处进行输入而产生的错误。直到到达文件的结尾,eof函数都返回false。对于为访问random或binary而打开的...
include int main() { int none,ntwo,nfive;int count=0;for(nfive=0;nfive;nfive){ for(ntwo=0;ntwo;ntwo){ none=60-ntwo-nfive;if(100=(nfive*5+ntwo*2+none)){ count;printf("第%d种:%d个五分,%d个两分,%d个1分\n",count,nf...