06 2023 档案

摘要://test4.c #include<stdio.h> int main() { char ch; int i; int count= 0 ; FILE *fp; fp = fopen("data4.txt", "r"); if(fp == NULL) { printf("fail to open 阅读全文
posted @ 2023-06-08 22:23 lenmoye 阅读(24) 评论(0) 推荐(0)
摘要:test4.c#include <stdio.h> #include<string.h> #define N 100 typedef struct { char num[10]; // 学号 int s1; // 期末成绩 int s2; // 平时成绩 double sum; // 总评 char 阅读全文
posted @ 2023-06-01 09:09 lenmoye 阅读(16) 评论(0) 推荐(0)