摘要: 一、 #include <stdio.h> #include <stdlib.h> int main() { char cr; FILE *fp; long count; if((fp=fopen("data4.txt","r"))==NULL) { printf("Can't open file. 阅读全文
posted @ 2022-12-27 20:46 辞·kennthy 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 1 // P286例8.17 2 // 对教材上的程序作了微调整,把输出学生信息单独编写成一个函数模块 3 // 打印不及格学生信息和所有学生信息程分别调用 4 5 #include <stdio.h> 6 #include <string.h> 7 #define N 3 // 运行程序输入测试时 阅读全文
posted @ 2022-12-27 14:31 辞·kennthy 阅读(33) 评论(0) 推荐(0) 编辑