会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
610haha
博客园
首页
新随笔
联系
订阅
管理
2025年6月9日
实验7
摘要: task1 // 文件读写操作:格式化读、写文本文件 #include <stdio.h> #include <stdlib.h> #define N 80 #define M 100 typedef struct { char name[N]; // 书名 char author[N]; // 作
阅读全文
posted @ 2025-06-09 10:06 乐一乐路过
阅读(12)
评论(0)
推荐(0)
2025年5月18日
实验5
摘要: task1 #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 @ 2025-05-18 14:51 乐一乐路过
阅读(12)
评论(0)
推荐(0)
2025年4月20日
实验4
摘要: task1 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = { 1, 9, 8, 4 }; int i; printf("sizeof(x) = %d\n", sizeof(x)); for (i = 0; i
阅读全文
posted @ 2025-04-20 23:31 乐一乐路过
阅读(12)
评论(0)
推荐(0)
2025年4月9日
实验3
摘要: task1 #include <stdio.h> char score_to_grade(int score); int main() { int score; char grade; while (scanf("%d", &score) != EOF) { grade = score_to_gra
阅读全文
posted @ 2025-04-09 21:17 乐一乐路过
阅读(18)
评论(0)
推荐(0)
2025年3月23日
实验2
摘要: task1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int number; int i; srand(time(0)); // 以当前系统时间作为随机种子 for(i = 0;
阅读全文
posted @ 2025-03-23 15:05 乐一乐路过
阅读(12)
评论(0)
推荐(0)
2025年3月16日
地址
摘要: https://www.cnblogs.com/610haha
阅读全文
posted @ 2025-03-16 14:48 乐一乐路过
阅读(10)
评论(0)
推荐(0)
2025年3月10日
实验1
摘要: task1 代码 #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); return 0; } 截图 task2 代码 #include <stdio.h> int main() { do
阅读全文
posted @ 2025-03-10 13:04 乐一乐路过
阅读(11)
评论(0)
推荐(0)
公告