会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hze305104
博客园
首页
新随笔
联系
订阅
管理
2025年5月28日
实验6
摘要: 实验任务4 源代码: 点击查看代码 #include <stdio.h> #include<stdlib.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; //
阅读全文
posted @ 2025-05-28 15:46 黄卓尔
阅读(24)
评论(0)
推荐(0)
2025年5月13日
实验5
摘要: 实验1(1) 源代码 点击查看代码 #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-13 16:34 黄卓尔
阅读(30)
评论(0)
推荐(0)
2025年4月20日
实验4
摘要: 实验任务1 源代码: 点击查看代码 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = { 1, 9, 8, 4 }; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\
阅读全文
posted @ 2025-04-20 11:29 黄卓尔
阅读(6)
评论(0)
推荐(0)
2025年4月7日
实验三
摘要: 实验任务一 运行截图: 回答问题: 1.函数score_to_grade的功能是作为一个新函数,对输入的分数进行ABCDE的打分 形参类型:int类型 返回值类型:char类型 2.类型不匹配:ans是char类型,修改后是const char类型,与char类型不匹配 缺少break语句:导致如果
阅读全文
posted @ 2025-04-07 14:45 黄卓尔
阅读(33)
评论(0)
推荐(0)
2025年3月23日
实验2
摘要: 实验任务一 源代码: 点击查看代码 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int number; int i; srand(time(0)); for (i = 0; i <
阅读全文
posted @ 2025-03-23 12:41 黄卓尔
阅读(13)
评论(0)
推荐(0)
2025年3月17日
地址
摘要: https://www.cnblogs.com/hze305104
阅读全文
posted @ 2025-03-17 13:54 黄卓尔
阅读(26)
评论(0)
推荐(0)
2025年3月9日
实验一
摘要: 实验任务一: 源代码: 点击查看代码 #include <stdio.h> int main() { printf(" o o\n"); printf("<H> <H>\n"); printf("I I I I\n"); return 0; } 运行截图: 
评论(0)
推荐(0)
公告