摘要:
#include<stdio.h> int main() { int c=0; char ch; FILE* fp; fp = fopen("data4.txt", "r"); if (fp == NULL) { printf("无法打开文件\n"); return 1; } ch = fgetc( 阅读全文
摘要:
实验任务3 #include <stdio.h> #include<string.h> #include<stdlib.h> #define N 100 typedef struct { char num[10]; // 学号 int s1; // 期末成绩 int s2; // 平时成绩 doub 阅读全文