会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
u2807875
博客园
首页
新随笔
联系
订阅
管理
2022年6月14日
实验六
摘要: 任务一: task1-1: #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]); printf("\n");
阅读全文
posted @ 2022-06-14 09:31 歌姬虎哥
阅读(28)
评论(1)
推荐(0)
2022年6月7日
实验五
摘要: 任务一: task1-1 #include <stdio.h> #define N 5 #define M 80 typedef struct { char name[M]; char author[M]; }Book; int main() { Book x[N]={{"一九八四","乔治.奥威尔
阅读全文
posted @ 2022-06-07 12:50 歌姬虎哥
阅读(13)
评论(0)
推荐(0)
2022年5月7日
实验四
摘要: 任务1-1: #include <stdio.h> #define N 4 int main() { int a[N] = {2, 0, 2, 2}; char b[N] = {'2', '0', '2', '2'}; int i; printf("sizeof(int) = %d\n", size
阅读全文
posted @ 2022-05-07 22:45 歌姬虎哥
阅读(21)
评论(0)
推荐(0)
2022年4月19日
实验三
摘要: 实践任务1: #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void printText(int line, int col, char text[]); // 函
阅读全文
posted @ 2022-04-19 17:29 歌姬虎哥
阅读(37)
评论(0)
推荐(0)
2022年4月16日
实验二
摘要: 实验任务1: #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int grade, number; int i; srand(time(0)); // 以当前系统时间作为随机种子 fo
阅读全文
posted @ 2022-04-16 22:34 歌姬虎哥
阅读(29)
评论(0)
推荐(0)
2022年3月27日
实验一
摘要: #include <stdio.h> int main() { #include <stdio.h> #include <math.h> int main() { double x, ans; while(scanf("%lf", &x) != EOF) { ans = pow(x, 365); p
阅读全文
posted @ 2022-03-27 19:05 歌姬虎哥
阅读(26)
评论(0)
推荐(0)
公告