阅读背景:

Fseek不会在C中设置流的文件位置

来源:互联网 

i make this simple C program whose purpose is to count the characters that are in a text file which is given through the second command line argument. The problem i face is that fseek shows not responds with a result to have an infinite loop (while(!feof(fp))) in function "Counter".By replacing the fseek with a fgetc the programm works fine.My my question is what is going wrong with the fseek. Thanks in advance.i make this simple C program whose purpose is t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: