会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DODJERRY
博客园
首页
新随笔
联系
订阅
管理
2025年6月7日
实验7
摘要: task4.c 点击查看代码 #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <ctype.h> int main() { FILE* fp; char ch; int line_count = 0; int char_coun
阅读全文
posted @ 2025-06-07 14:42 DODJERRY
阅读(15)
评论(0)
推荐(0)
2025年6月1日
实验6
摘要: task4.c 点击查看代码 #include <stdio.h> #define N 10 typedef struct { char isbn[20]; char name[80]; char author[80]; double sales_price; int sales_count; }
阅读全文
posted @ 2025-06-01 16:07 DODJERRY
阅读(20)
评论(0)
推荐(0)
2025年5月18日
实验五
摘要: task1_1.c 点击查看代码 #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,
阅读全文
posted @ 2025-05-18 20:18 DODJERRY
阅读(21)
评论(0)
推荐(0)
2025年4月20日
实验4
摘要: task6.c 点击查看代码 #include <stdio.h> #define N 100 void dec_to_n(int x, int n); int main() { int x; while (printf("输入十进制整数: "), scanf_s("%d", &x) != EOF)
阅读全文
posted @ 2025-04-20 19:26 DODJERRY
阅读(30)
评论(0)
推荐(0)
2025年4月9日
实验3
摘要: task1.c 点击查看代码 #include <stdio.h> char score_to_grade(int score); int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = scor
阅读全文
posted @ 2025-04-09 20:41 DODJERRY
阅读(16)
评论(0)
推荐(0)
公告