会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
delpaulo
博客园
首页
新随笔
联系
订阅
管理
2025年6月9日
实验7
摘要: 四、实验结论 4.实验任务4 task4.c源码及运行结果截图: 1 #define _CRT_SECURE_NO_WARNINGS 2 3 #include <stdio.h> 4 #include <ctype.h> 5 6 void count_file_stats(const char* f
阅读全文
posted @ 2025-06-09 10:26 DelPaulo
阅读(8)
评论(0)
推荐(0)
2025年5月29日
实验6
摘要: 4、实验任务4 task4.c源码及运行结果截图: 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char author[80];
阅读全文
posted @ 2025-05-29 08:32 DelPaulo
阅读(5)
评论(0)
推荐(0)
2025年5月18日
实验5
摘要: 1、实验任务1 task1_1.c程序源码及运行结果截图: 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(in
阅读全文
posted @ 2025-05-18 18:36 DelPaulo
阅读(15)
评论(0)
推荐(0)
2025年4月20日
实验4
摘要: 1、实验任务1 task1源代码及运行结果截图: 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占用的内存字节
阅读全文
posted @ 2025-04-20 13:05 DelPaulo
阅读(7)
评论(0)
推荐(0)
2025年4月6日
实验3
摘要: 1、实验任务1 task1源代码及运行结果截图: 1 #include <stdio.h> 2 3 char score_to_grade(int score); // 函数声明 4 5 int main() { 6 int score; 7 char grade; 8 9 while (scanf
阅读全文
posted @ 2025-04-06 17:28 DelPaulo
阅读(11)
评论(0)
推荐(0)
2025年3月23日
实验2
摘要: 1、实验任务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(0)); /
阅读全文
posted @ 2025-03-23 13:21 DelPaulo
阅读(13)
评论(0)
推荐(0)
2025年3月9日
实验1
摘要: #include <stdio.h> int main() { printf(" 0 0\n"); printf("<H> <H>\n"); printf("I I I I\n"); return 0; } #include <stdio.h> int main() { double a, b, c
阅读全文
posted @ 2025-03-09 21:58 DelPaulo
阅读(15)
评论(0)
推荐(0)
公告