12 2020 档案

摘要:任务3 输出的数据是按照从高到低排序 生成了file3 且直观可读且正确 任务4 子1 是按照从高到低的顺序排序的 生成了file4 但不可直观 一堆乱码 子2 //4.22 #include <stdio.h> #include <stdlib.h> #define N 10 typedef st 阅读全文
posted @ 2020-12-30 21:19 王舟 阅读(94) 评论(1) 推荐(0)
摘要://任务1 #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 typedef struct student { int id; char name[20]; char subject[20]; float perf 阅读全文
posted @ 2020-12-20 11:05 王舟 阅读(98) 评论(1) 推荐(0)
摘要:任务1 //1 #include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名及下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n 阅读全文
posted @ 2020-12-15 22:45 王舟 阅读(62) 评论(1) 推荐(0)