12 2023 档案

摘要:// 使用fputs()将字符串写入文本文件 #include <stdio.h> #define N 5 int main() { // 定义字符指针数组,每个元素存放字符串的起始地址 char *ptr[N] = { "Working\'s Blues", "Everything Will Fl 阅读全文
posted @ 2023-12-21 18:17 saber999 阅读(24) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <string.h> #define N 3 // 运行程序输入测试时,可以把这个数组改小一些输入测试 typedef struct student { int id; // 学号 char name[20]; // 姓名 char subje 阅读全文
posted @ 2023-12-11 21:34 saber999 阅读(45) 评论(0) 推荐(0)