12 2023 档案

摘要:task4 源代码: #include<stdio.h> int main(){ char ch; int i=0; FILE *fp; fp=fopen("data4.txt","r"); if(fp==NULL){ printf("fail to open file\n"); return 1; 阅读全文
posted @ 2023-12-19 23:07 奔满足于驰 阅读(20) 评论(0) 推荐(0)
摘要:task4 源代码: #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double sales_price; // 阅读全文
posted @ 2023-12-12 19:53 奔满足于驰 阅读(47) 评论(0) 推荐(0)
摘要:task1_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[], int n, int *pmin, int * 阅读全文
posted @ 2023-12-02 23:35 奔满足于驰 阅读(35) 评论(0) 推荐(0)