会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
u3612611
博客园
首页
新随笔
联系
订阅
管理
2025年6月8日
实验7 文件应用编程
摘要: 任务4 源代码: #include <stdio.h> #include <stdlib.h> #include <string.h> #define N 10 typedef struct { long id; // 准考证号 char name[20]; // 姓名 float objectiv
阅读全文
posted @ 2025-06-08 00:19 铁丝雀儿
阅读(28)
评论(0)
推荐(0)
2025年6月2日
实验6 C语言结构体、枚举型应用编程
摘要: 实验4 源代码 #include <stdio.h> #include <stdlib.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 doubl
阅读全文
posted @ 2025-06-02 21:39 铁丝雀儿
阅读(18)
评论(0)
推荐(0)
2025年5月18日
实验5 C语⾔指针应⽤编程
摘要: 任务1(1) 源代码: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #define N 5 4 5 void input(int x[], int n); 6 void output(int x[], int n); 7 void find_min_ma
阅读全文
posted @ 2025-05-18 19:34 铁丝雀儿
阅读(29)
评论(0)
推荐(0)
2025年4月20日
实验4 C语⾔数组应⽤编程
摘要: 任务1 源代码: 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 5 void test1() { 6 int x[N] = {1, 9, 8, 4}; 7 int i; 8 9 // 输出数组x占用的内存字节数 10 printf("sizeo
阅读全文
posted @ 2025-04-20 19:47 铁丝雀儿
阅读(20)
评论(0)
推荐(0)
2025年4月5日
实验3 C语言函数应用编程
摘要: 任务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-04-05 23:42 铁丝雀儿
阅读(41)
评论(0)
推荐(0)
2025年3月22日
实验2 C语言分支与循环基础应用编程
摘要: 实验结论 任务1: 源代码: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 7 int main() { 8 int number; 9 int i; 10 11 srand(time
阅读全文
posted @ 2025-03-22 14:51 铁丝雀儿
阅读(18)
评论(0)
推荐(0)
2025年3月8日
实验1 C语言输入输出和简单程序应用编程
摘要: 任务1: 源代码: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 int main() 5 { 6 printf(" o \n"); 7 printf("<H>\n"); 8 printf("I I\n"); 9 printf(" o \n"); 10
阅读全文
posted @ 2025-03-08 17:41 铁丝雀儿
阅读(18)
评论(0)
推荐(0)
公告