会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
code042
博客园
首页
新随笔
联系
订阅
管理
2026年6月10日
实验六 C语言结构体和枚举应用编程
摘要: 实验任务4 源代码 1 #include <stdio.h> 2 #include<stdlib.h> 3 #define N 10 4 5 typedef struct { 6 char isbn[20]; // isbn号 7 char name[80]; // 书名 8 char author
阅读全文
posted @ 2026-06-10 16:17 code_000
阅读(10)
评论(0)
推荐(0)
2026年5月29日
实验5 C语言指针应用编程
摘要: 实验任务1 源代码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_max(i
阅读全文
posted @ 2026-05-29 16:41 code_000
阅读(14)
评论(0)
推荐(0)
2026年5月2日
实验4 C语言数组应用编程
摘要: 实验1 源代码 1 #include <stdio.h> 2 #include<stdlib.h> 3 #define N 4 4 #define M 2 5 6 void test1() { 7 int x[N] = {1, 9, 8, 4}; 8 int i; 9 10 // 输出数组x占用的内
阅读全文
posted @ 2026-05-02 23:29 code_000
阅读(13)
评论(0)
推荐(0)
2026年4月18日
实验3 C语言函数应用编程
摘要: 实验任务一 源代码 1 #include<stdio.h> 2 3 char score_to_grade(int score); 4 5 int main(){ 6 int score; 7 int grade; 8 9 while(scanf("%d",&score)!=EOF) 10 { 11
阅读全文
posted @ 2026-04-18 10:49 code_000
阅读(11)
评论(0)
推荐(0)
2026年4月1日
实验2 C语言分支与循环基础应用编程
摘要: 实验任务1 源代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 int main() 6 { 7 int number; 8 int i; 9 10 srand(time(0)); //
阅读全文
posted @ 2026-04-01 16:46 code_000
阅读(5)
评论(0)
推荐(0)
2026年3月18日
实验1 C语言输入输出和简单程序编写
摘要: 实验任务1 源代码1 1 #include<stdio.h> 2 #include<stdlib.h> 3 int main(){ 4 printf(" O \n"); 5 printf("<H>\n"); 6 printf("I I\n"); 7 8 printf(" O \n"); 9 prin
阅读全文
posted @ 2026-03-18 16:04 code_000
阅读(14)
评论(0)
推荐(0)
公告