会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yzjd
博客园
首页
新随笔
联系
订阅
管理
2025年12月26日
实验七
摘要: 实验四 #define _CRT_SECURE_NO_WARNINGS #include <stdlib.h> #include <stdio.h> #include <string.h> #include <ctype.h> int main() { FILE* fp; int line = 0;
阅读全文
posted @ 2025-12-26 16:16 浔匿
阅读(9)
评论(1)
推荐(0)
2025年12月19日
实验6
摘要: 实验任务4 #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double sales_price; // 售价 i
阅读全文
posted @ 2025-12-19 17:38 浔匿
阅读(11)
评论(1)
推荐(0)
2025年12月11日
实验5
摘要: task1_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, int* pmax
阅读全文
posted @ 2025-12-11 17:06 浔匿
阅读(15)
评论(1)
推荐(0)
2025年11月11日
实验4
摘要: 实验任务1 问题一 连续 相同 问题二 连续 相同 16 一行元素的总内存长度即4*N 实验任务2 问题一 x为数组名 形参int x[] 实参x 问题二 输入N个数字,存入一维数组x 将输入的数字去掉最大值与最小值,计算剩余数字的平均数 实验任务3 问题一 x为数组名 形参int x[][N] 实
阅读全文
posted @ 2025-11-11 22:29 浔匿
阅读(13)
评论(1)
推荐(0)
2025年10月24日
实验3
摘要: 实验任务1 任务1 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> char score_to_grade(int score); int main(){ int score; char grade; while (scanf("%d", &sco
阅读全文
posted @ 2025-10-24 15:25 浔匿
阅读(18)
评论(1)
推荐(0)
2025年10月14日
实验2
摘要: 实验任务1 #include<stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 80 #define N2 35 int main() { int cnt; int random_major, random_n
阅读全文
posted @ 2025-10-14 00:17 浔匿
阅读(22)
评论(1)
推荐(0)
2025年9月26日
实验1
摘要: 实验任务1.1 #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); printf(" O \n"); printf("<H>\n"); printf("I I\n"); return 0
阅读全文
posted @ 2025-09-26 21:39 浔匿
阅读(12)
评论(2)
推荐(0)
公告