摘要:
#include<stdio.h> int main(){ char ch; FILE *fp; fp=fopen("data4.txt","r"); if(fp==NULL){ printf("fail to open file"); return 1; } int count=0; ch=fge 阅读全文
摘要:
#include <stdio.h> #include<string.h> #define N 100 typedef struct { char num[10]; // 学号 int s1; // 期末成绩 int s2; // 平时成绩 double sum; // 总评 char level[ 阅读全文