12 2024 档案

摘要:task4 #include <stdio.h> #include <stdlib.h> int main() { FILE *fp; char ch; int lines = 0, characters = 0; fp = fopen("d:\\xia01\\Documents\\data4qwe 阅读全文
posted @ 2024-12-30 18:36 夏庆兴 阅读(10) 评论(0) 推荐(0)
摘要:task4 #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double sales_price; // 售价 i 阅读全文
posted @ 2024-12-22 17:11 夏庆兴 阅读(9) 评论(0) 推荐(0)
摘要:实验一 代码: #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 19:58 夏庆兴 阅读(9) 评论(0) 推荐(0)