会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
miss1920
博客园
首页
新随笔
联系
订阅
管理
2026年1月
实验七
摘要: task4 点击查看代码 #include<stdio.h> #include<stdlib.h> #include<string.h> int main() { FILE *fp; int line=0,len=0; char ch[1000]; char c; fp=fopen("C:\\Use
阅读全文
posted @ 2026-01-01 00:11 白艺
阅读(6)
评论(1)
推荐(0)
2025年12月
实验六
摘要: 前三均为验证性题目,下来已实操过了 task4 点击查看代码 #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 do
阅读全文
posted @ 2025-12-25 21:02 白艺
阅读(4)
评论(1)
推荐(0)
实验五
摘要: task.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,int *pm
阅读全文
posted @ 2025-12-12 13:58 白艺
阅读(9)
评论(1)
推荐(0)
2025年11月
作业4
摘要: task.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", siz
阅读全文
posted @ 2025-11-17 12:55 白艺
阅读(8)
评论(1)
推荐(0)
2025年10月
实验三
摘要: task.1 点击查看代码 #include <stdio.h> char score_to_grade(int score); int main(){ int score; int grade; while(scanf("%d",&score)!=EOF){ grade = score_to_gr
阅读全文
posted @ 2025-10-31 01:13 白艺
阅读(12)
评论(1)
推荐(0)
实验二
摘要: 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, rand
阅读全文
posted @ 2025-10-19 18:07 白艺
阅读(9)
评论(1)
推荐(0)
实验1 C语言开发环境使用和数据类型、运算符、表达式
摘要: 实验一 点击查看代码 #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); return 0; } 1.1 点击查看代码 #include <stdio.h> int main() { p
阅读全文
posted @ 2025-10-09 18:57 白艺
阅读(12)
评论(2)
推荐(0)
公告