会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jj11
博客园
首页
新随笔
联系
订阅
管理
2025年12月31日
实验7
摘要: 实验任务4: #include <stdio.h>#include <ctype.h> int main() { FILE *fp; char ch; int line_count = 0; int char_count = 0; fp = fopen("data4.txt", "r"); if (
阅读全文
posted @ 2025-12-31 11:29 呼-
阅读(6)
评论(1)
推荐(0)
2025年12月25日
实验6
摘要: 实验任务1: // P286例8.17// 对教材示例代码作了微调,把输出学生信息设计成函数模块// 打印不及格学生信息、打印所有学生信息均调用该模块实现 #include <stdio.h>#include <string.h> #define N 3 // 运行程序输入测试时,可以把N改小一些输
阅读全文
posted @ 2025-12-25 18:17 呼-
阅读(8)
评论(1)
推荐(0)
2025年12月11日
实验5
摘要: 实验任务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 *pmax); i
阅读全文
posted @ 2025-12-11 16:10 呼-
阅读(12)
评论(1)
推荐(0)
2025年11月16日
实验4
摘要: #include <stdio.h> 实验任务1: #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 21:19 呼-
阅读(12)
评论(1)
推荐(0)
2025年10月30日
实验3
摘要: 实验任务1: #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = scor
阅读全文
posted @ 2025-10-30 19:10 呼-
阅读(11)
评论(1)
推荐(0)
2025年10月19日
实验2
摘要: 实验任务1: #include<stdio.h>#include<stdlib.h>#include<time.h>int main(){ #define N 5 #define N1 80 #define N2 35 int cut; int random_major,random_no; cut
阅读全文
posted @ 2025-10-19 11:39 呼-
阅读(7)
评论(1)
推荐(0)
2025年10月12日
1
摘要: https://www.cnblogs.com/jj11/
阅读全文
posted @ 2025-10-12 11:14 呼-
阅读(7)
评论(0)
推荐(0)
2025年10月9日
实验1
摘要: #include<stdio.h> int main() { printf(" o \n"); printf("<H>\n"); printf("I I\n"); printf(" o \n"); printf("<H>\n"); printf("I I\n"); return 0; } #incl
阅读全文
posted @ 2025-10-09 11:46 呼-
阅读(16)
评论(1)
推荐(0)
公告