C语言 文件读取时间:2023-03-09 14:40:36 FILE *fp = fopen("data.txt","rt");fscanf(fp,"%d", &n ); /* 把数据放到数组中 */ fclose(fp);