摘要:
任务3 是,是 任务4 子任务1 是 是 不可读 子任务2 #include <stdio.h> #include <stdlib.h> int main(){ char ch; FILE *fin; fin=fopen("file4.dat","rb"); if(!fin){ printf("fa 阅读全文
posted @ 2020-12-29 15:31
asmallrookie
阅读(64)
评论(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-21 23:11
asmallrookie
阅读(73)
评论(1)
推荐(0)
摘要:
任务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-10 22:04
asmallrookie
阅读(71)
评论(1)
推荐(0)
浙公网安备 33010602011771号