会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
HZJB1218
博客园
首页
新随笔
联系
订阅
管理
2023年6月
实验七
摘要: 实验任务四 程序源码 #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 5 #define M 100 int main() { char ch[M]; int n=0; FILE *fp; fp=fopen("C:/
阅读全文
posted @ 2023-06-14 22:06 就是睡得很香
阅读(7)
评论(0)
推荐(0)
2023年5月
实验六
摘要: 实验任务一 程序源码 #include <stdio.h>#include <string.h> #define N 3 // 运行程序输入测试时,可以把这个数组改小一些输入测试 typedef struct student { int id; // 学号 char name[20]; // 姓名
阅读全文
posted @ 2023-05-25 17:20 就是睡得很香
阅读(11)
评论(0)
推荐(0)
实验五
摘要: 实验任务一 task1 程序源码 #include <stdio.h> #define N 4 int main() { int x[N] = {1, 9, 8, 4}; int i; int *p; for (i = 0; i < N; ++i) printf("%d", x[i]); print
阅读全文
posted @ 2023-05-11 12:49 就是睡得很香
阅读(13)
评论(0)
推荐(0)
2023年4月
实验四
摘要: 实验任务一 task1.1 程序源码: #include <stdio.h> #include <stdlib.h> #define N 4 int main() { int a[N] = {2, 0, 2, 3}; char b[N] = {'2', '0', '2', '3'}; int i;
阅读全文
posted @ 2023-04-20 09:01 就是睡得很香
阅读(9)
评论(0)
推荐(0)
2023年3月
实验三
摘要: 实验任务一 程序源码: #include<stdio.h> #include<stdlib.h> #include<time.h> #include<windows.h> #define N 80 void print_text(int line,int col,char text[]);//函数声
阅读全文
posted @ 2023-03-31 16:49 就是睡得很香
阅读(17)
评论(0)
推荐(0)
实验二
摘要: 实验任务1 程序源码: #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand(time
阅读全文
posted @ 2023-03-21 16:47 就是睡得很香
阅读(21)
评论(1)
推荐(0)
实验一
摘要: 实验任务1 程序源码: #include<stdio.h> #include<stdlib.h> int main() { printf(" o \n"); printf("<H>\n"); printf("I I\n"); system("pause"); return 0; } 程序运行: 实验
阅读全文
posted @ 2023-03-02 17:15 就是睡得很香
阅读(25)
评论(0)
推荐(0)
公告