会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Aaaaaxxt
博客园
首页
新随笔
联系
订阅
管理
2025年12月31日
实验七
摘要: 实验任务4 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<string.h> 4 int main() 5 { 6 FILE *fp; 7 int line=0,len=0; 8 char ch[1000]; 9 char c; 10 fp=
阅读全文
posted @ 2025-12-31 00:57 Aaaaa叉少
阅读(8)
评论(1)
推荐(0)
2025年12月22日
实验六
摘要: 实验任务4 1 #include <stdio.h> 2 #define N 10 3 typedef struct { 4 char isbn[20]; // isbn号 5 char name[80]; // 书名 6 char author[80]; // 作者 7 double sales_
阅读全文
posted @ 2025-12-22 23:59 Aaaaa叉少
阅读(5)
评论(1)
推荐(0)
2025年12月12日
实验五
摘要: 实验任务1 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 *pmin, i
阅读全文
posted @ 2025-12-12 14:19 Aaaaa叉少
阅读(10)
评论(2)
推荐(0)
2025年11月16日
实验四
摘要: 实验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\n", sizeof(x));
阅读全文
posted @ 2025-11-16 23:17 Aaaaa叉少
阅读(11)
评论(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 = score_to_gra
阅读全文
posted @ 2025-10-30 22:03 Aaaaa叉少
阅读(8)
评论(1)
推荐(0)
2025年10月19日
实验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_no
阅读全文
posted @ 2025-10-19 00:53 Aaaaa叉少
阅读(10)
评论(1)
推荐(0)
2025年10月9日
实验1
摘要: 实验任务1 #include <stdio.h> int main() { printf(" 0 \n"); printf("<H>\n"); printf("I I\n"); system("PAUSE"); return 0; } 实验结论 实验任务1(2) 1 #include<stdio.h
阅读全文
posted @ 2025-10-09 21:03 Aaaaa叉少
阅读(7)
评论(1)
推荐(0)
公告