摘要:
task4 #include<stdio.h> int main() { char ch; FILE *fp; fp = fopen("data4.txt","r"); int count = 0; while(1) { ch = fgetc(fp); if(ch==EOF) break; if(c 阅读全文
posted @ 2023-12-20 13:14
胡彦超
阅读(19)
评论(0)
推荐(0)
摘要:
task1 // P286例8.17 // 对教材上的程序作了微调整,把输出学生信息单独编写成一个函数模块 // 打印不及格学生信息和所有学生信息程分别调用 #include <stdio.h> #include <string.h> #define N 3 // 运行程序输入测试时,可以把这个数组 阅读全文
posted @ 2023-12-11 17:27
胡彦超
阅读(19)
评论(0)
推荐(0)
摘要:
任务1-1 //验证性实验:指针变量作为函数参数,指针变量作为函数的返回值 #include<stdio.h> #define N 5 void input(int x[],int n); void output(int x[],int n); void find_min_max(int x[],i 阅读全文
posted @ 2023-12-01 11:52
胡彦超
阅读(24)
评论(0)
推荐(0)
浙公网安备 33010602011771号