12 2023 档案

摘要:task 4 #include<stdio.h> #include<stdlib.h> int main(){ FILE *fp; char ch; int cnt=0; fp = fopen("data4.txt","r"); if(fp==NULL){ printf("fail\n"); exi 阅读全文
posted @ 2023-12-21 22:56 吕江楠 阅读(4) 评论(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 @ 2023-12-17 23:44 吕江楠 阅读(2) 评论(0) 推荐(0) 编辑