12 2022 档案

摘要:task4 #include<stdio.h> int main(){ FILE *fp; fp=fopen("C:\\Users\\user\\Documents\\data4.txt","r"); if(feof(fp)){ printf("fail to open the file"); re 阅读全文
posted @ 2022-12-21 13:36 独悲 阅读(46) 评论(0) 推荐(0)
摘要:task3 #include <stdio.h> #include<string.h> #define N 100 typedef struct { char num[10]; // 学号 int s1; // 期末成绩 int s2; // 平时成绩 double sum; // 总评 char 阅读全文
posted @ 2022-12-21 08:44 独悲 阅读(30) 评论(0) 推荐(0)