使用fscanf()判断文件结尾. 先看这样一段代码:. #include <stdio.h>. #include <stdlib.h>. int main(). {. char ch;. FILE *fp = fopen("in.txt", "r");. while ...
確定! 回上一頁