会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Carloschan-Giraffe
博客园
首页
新随笔
联系
订阅
管理
2025年12月5日
实验五
摘要: Task 1_1.c: 1 #include <stdio.h> 2 #define N 5 3 void input(int x[], int n); 4 void output(int x[], int n); 5 void find_min_max(int x[], int n, int *p
阅读全文
posted @ 2025-12-05 17:26 超级累的长颈鹿
阅读(0)
评论(0)
推荐(0)
2025年11月10日
实验四
摘要: Task 1: 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 void test1() { 5 int x[N] = {1, 9, 8, 4}; 6 int i; 7 8 // 输出数组x占用的内存字节数 9 printf("sizeof(x)
阅读全文
posted @ 2025-11-10 17:21 超级累的长颈鹿
阅读(6)
评论(2)
推荐(0)
2025年10月27日
实验三
摘要: Task 1: 1 #include <stdio.h> 2 char score_to_grade(int score); // 函数声明 3 int main() { 4 int score; 5 char grade; 6 while(scanf("%d", &score) != EOF) {
阅读全文
posted @ 2025-10-27 09:28 超级累的长颈鹿
阅读(8)
评论(1)
推荐(0)
2025年10月16日
博客地址
摘要: https://www.cnblogs.com/Carloschan-Giraffe
阅读全文
posted @ 2025-10-16 19:40 超级累的长颈鹿
阅读(4)
评论(0)
推荐(0)
2025年10月14日
实验二
摘要: Task1: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 #define N1 80 6 #define N2 35 7 int main() 8 { 9 int cnt; 10 int
阅读全文
posted @ 2025-10-14 23:08 超级累的长颈鹿
阅读(4)
评论(1)
推荐(0)
2025年9月26日
实验1 C语言输入输出和简单程序编写
摘要: 实验一 1 #include <stdio.h> 2 #include <stdlib.h> 3 int main() 4 { 5 printf(" O O \n"); 6 printf("<H> <H> \n"); 7 printf("I I I I \n"); 8 9 system("pause
阅读全文
posted @ 2025-09-26 12:57 超级累的长颈鹿
阅读(17)
评论(1)
推荐(0)
公告