12 2024 档案

摘要:任务4 源代码 #include<stdio.h> #define N 100 int main(){ char x[N]; int i,j,a,b; i=j=b=0; a=1; FILE *fp; fp=fopen("data4.txt","r"); if(!fp){ printf("fail t 阅读全文
posted @ 2024-12-30 09:26 月辉不约会 阅读(10) 评论(0) 推荐(0)
摘要:任务4 源代码 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char author[80]; // 作者 8 double sa 阅读全文
posted @ 2024-12-22 19:23 月辉不约会 阅读(7) 评论(0) 推荐(0)
摘要:任务1.1 原代码 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int *p 阅读全文
posted @ 2024-12-08 22:10 月辉不约会 阅读(5) 评论(0) 推荐(0)