会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lolikana
博客园
首页
新随笔
联系
订阅
管理
2025年12月30日
实验七
摘要: 实验任务1-3已验证 实验任务4 源代码 点击查看代码 #include <stdio.h> #define M 100 int main() { char line[M]; FILE *fp; int i = 0,n,linelength = 1,number = 0; fp = fopen("d
阅读全文
posted @ 2025-12-30 17:50 lolikana
阅读(9)
评论(1)
推荐(0)
2025年12月24日
实验六
摘要: 实验任务1-3已验证 实验4 源代码 点击查看代码 #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double
阅读全文
posted @ 2025-12-24 22:22 lolikana
阅读(5)
评论(1)
推荐(0)
2025年12月12日
实验五
摘要: 实验任务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-12-12 14:01 lolikana
阅读(10)
评论(0)
推荐(0)
2025年11月16日
实验四
摘要: 实验任务一 源代码 点击查看代码 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; printf("sizeof(x) = %d\n", sizeof(x)); for
阅读全文
posted @ 2025-11-16 17:07 lolikana
阅读(18)
评论(1)
推荐(0)
2025年10月30日
实验三
摘要: 实验任务1 源代码 点击查看代码 #include <stdio.h> char score_to_grade(int score); int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = sc
阅读全文
posted @ 2025-10-30 15:26 lolikana
阅读(11)
评论(1)
推荐(0)
2025年10月19日
实验二
摘要: 实验任务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
阅读全文
posted @ 2025-10-19 17:31 lolikana
阅读(14)
评论(4)
推荐(0)
2025年10月5日
实验一
摘要: 实验任务一 源代码 点击查看代码 #include<stdio.h> int main(){ printf(" o \n"); printf("<H>\n"); printf("I I\n"); return 0; } #include<stdio.h> int main(){ printf(" o
阅读全文
posted @ 2025-10-05 10:34 lolikana
阅读(15)
评论(1)
推荐(0)
公告