董祉奕

06 2021 档案

实验7
摘要:/ 从文本数据文件file1.dat中读入数据,按成绩从高到低排序,将排序结果输出到屏幕上,同时以文本方式存入文件file3.dat中。 #include <stdio.h> #include <stdlib.h> #define N 10 // 定义一个结构体类型STU typedef struc 阅读全文

posted @ 2021-06-17 01:11 xgeyknf 阅读(52) 评论(1) 推荐(0)

实验六
摘要:#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; /*学生学号 */ char name[20] 阅读全文

posted @ 2021-06-10 17:25 xgeyknf 阅读(47) 评论(1) 推荐(0)

导航