12 2023 档案

摘要:// 将图书信息写入文本文件data1.txt #include <stdio.h> #define N 80 typedef struct { char name[N]; // 书名 char author[N]; // 作者 } Book; int main() { Book x[] = { { 阅读全文
posted @ 2023-12-16 16:08 黄骑 阅读(18) 评论(0) 推荐(0)
摘要:#include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double sales_price; // 售价 int sal 阅读全文
posted @ 2023-12-11 19:09 黄骑 阅读(54) 评论(0) 推荐(0)