06 2021 档案

摘要:#include <stdio.h> #include <stdlib.h> int main() { FILE *fin, *fout; // 定义文件类型指针 int ch; fin = fopen("file1.txt", "r"); // 以只读文本方式打开文件file1.txt if (f 阅读全文
posted @ 2021-06-16 23:51 freshwatercd 阅读(48) 评论(1) 推荐(0)
摘要:#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 4 typedef struct student { int id; /*学生学号 */ char name[20]; /*学生姓名 */ char subject[2 阅读全文
posted @ 2021-06-08 19:20 freshwatercd 阅读(53) 评论(1) 推荐(0)