06 2024 档案

摘要:#include<stdio.h> int main() { int cnt=0; char ch; FILE *fp; fp=fopen("data4.txt","r"); if(fp==NULL) { printf("fail to open file\n"); return 0; } whil 阅读全文
posted @ 2024-06-24 09:06 刘雨彤 阅读(13) 评论(0) 推荐(0)
摘要:task。1 #include <stdio.h> #include <string.h> #define N 3 // 运行程序输入测试时,可以把这个数组改小一些输入测试 typedef struct student { int id; // 学号 char name[20]; // 姓名 cha 阅读全文
posted @ 2024-06-10 11:18 刘雨彤 阅读(32) 评论(0) 推荐(0)