C语言 文件读取

FILE *fp = fopen("data.txt","rt");fscanf(fp,"%d", &n );/* 把数据放到数组中 */fclose(fp);
相关文章
相关标签/搜索