12 2024 档案

摘要:Task.4 程序: #include <stdio.h> #include <string.h> int main(){ FILE *fp; fp=fopen("d:\\data4.txt","r"); if(fp==NULL){ printf("fail to open file to writ 阅读全文
posted @ 2024-12-30 09:37 5dgx36 阅读(9) 评论(0) 推荐(0)
摘要:Task.4 程序: #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double sales_price; // 阅读全文
posted @ 2024-12-22 21:29 5dgx36 阅读(7) 评论(0) 推荐(0)
摘要:Task1 程序: #include <stdio.h> #define N 5 void input(int x[],int n); void output(int x[],int n); void find_min_max(int x[],int n,int *pmin,int *pmax); 阅读全文
posted @ 2024-12-08 23:52 5dgx36 阅读(5) 评论(0) 推荐(0)