06 2024 档案

摘要:task4: #include<stdio.h> int main(){ FILE *fp; char ch; int count=0; fp=fopen("d:\\data4.txt","r"); if(fp==NULL){ printf("fail to open file\n"); retur 阅读全文
posted @ 2024-06-23 19:31 王彦晴 阅读(9) 评论(0) 推荐(0) 编辑
摘要:task-1 #define N 3 // 运行程序输入测试时,可以把这个数组改小一些输入测试 #include<stdlib.h> typedef struct student { int id; // 学号 char name[20]; // 姓名 char subject[20]; // 考试 阅读全文
posted @ 2024-06-09 00:11 王彦晴 阅读(15) 评论(0) 推荐(0) 编辑