摘要: task4 #include <stdio.h> #include <ctype.h> int main() { FILE *file; int count = 0; int ch; file = fopen("d:\\data\\data4.txt", "r"); if (file == NULL 阅读全文
posted @ 2023-12-21 18:42 神里凌华 阅读(24) 评论(0) 推荐(0)
摘要: task1_1 源代码: // 将图书信息写入文本文件data1.txt #include <stdio.h> #define N 80 typedef struct { char name[N]; // 书名 char author[N]; // 作者 } Book; int main() { B 阅读全文
posted @ 2023-12-21 12:12 神里凌华 阅读(23) 评论(0) 推荐(0)