会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
x2y0q6
博客园
首页
新随笔
联系
订阅
管理
2025年6月6日
实验7
摘要: task4 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <ctype.h> 4 int main() 5 { 6 7 FILE *fp; 8 int line_count=0; 9 int char_count=0; 10 int ch
阅读全文
posted @ 2025-06-06 23:58 火火好样的
阅读(24)
评论(0)
推荐(0)
2025年6月2日
实验六
摘要: task4 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char author[80]; // 作者 8 double sale
阅读全文
posted @ 2025-06-02 20:02 火火好样的
阅读(15)
评论(0)
推荐(0)
2025年5月15日
实验5
摘要: task1—1.c 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int *p
阅读全文
posted @ 2025-05-15 22:53 火火好样的
阅读(20)
评论(0)
推荐(0)
2025年4月20日
实验4
摘要: task1.c 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 5 void test1() { 6 int x[N] = {1, 9, 8, 4}; 7 int i; 8 9 // 输出数组x占用的内存字节数 10 printf("sizeof
阅读全文
posted @ 2025-04-20 23:40 火火好样的
阅读(13)
评论(0)
推荐(0)
2025年4月7日
实验3
摘要: task1.c 1 #include <stdio.h> 2 3 char score_to_grade(int score); // 函数声明 4 5 int main() { 6 int score; 7 char grade; 8 9 while(scanf("%d", &score) !=
阅读全文
posted @ 2025-04-07 23:23 火火好样的
阅读(47)
评论(0)
推荐(0)
2025年3月21日
实验2
摘要: task1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 int main(){ 7 int number; 8 int i; 9 10 srand(time(0)); 11 for(
阅读全文
posted @ 2025-03-21 14:53 火火好样的
阅读(26)
评论(0)
推荐(0)
2025年3月4日
实验1
摘要: 实验1 task1.c 1 #include <stdio.h> 2 int main() 3 { 4 printf(" o\n"); 5 printf("<H>\n"); 6 printf("I I\n"); 7 8 return 0; 9 } 运行结果截图 task1-1.c 1 #includ
阅读全文
posted @ 2025-03-04 21:10 火火好样的
阅读(31)
评论(0)
推荐(0)
公告