在使用fgets函数读文件时发现每次最后一行都会重复读一遍,程序如下:. #include. #include. int main(). {. FILE *fp;. char ch[128];.
確定! 回上一頁