06 2021 档案

摘要:实验任务一: #include <stdio.h> #include <stdlib.h> int main() { FILE *fin, *fout; // 定义文件类型指针 int ch; fin = fopen("file1.txt", "r"); // 以只读文本方式打开文件file1.tx 阅读全文
posted @ 2021-06-15 18:40 文雨zyf 阅读(83) 评论(2) 推荐(0)
摘要:实验任务一 #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; /*学生学号 */ char na 阅读全文
posted @ 2021-06-09 17:08 文雨zyf 阅读(54) 评论(1) 推荐(0)