会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lyh2333
博客园
首页
新随笔
联系
订阅
管理
2022年6月12日
实验六
摘要: Task 1-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"); for(
阅读全文
posted @ 2022-06-12 22:13 铭啾同志拜托了
阅读(31)
评论(1)
推荐(0)
2022年6月5日
实验五
摘要: 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-05 10:53 铭啾同志拜托了
阅读(17)
评论(0)
推荐(0)
2022年5月9日
实验四捏
摘要: Task1_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", siz
阅读全文
posted @ 2022-05-09 17:18 铭啾同志拜托了
阅读(14)
评论(0)
推荐(0)
2022年4月20日
实验三捏
摘要: Task 1 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void printText(int line, int col, char text[]); void
阅读全文
posted @ 2022-04-20 23:12 铭啾同志拜托了
阅读(47)
评论(0)
推荐(0)
2022年4月12日
实验二 字符小人你坏事做尽T~T
摘要: Task 1 /*程序功能:得到五个不同的学号*/ #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int grade,number; int i; srand(time(0)); f
阅读全文
posted @ 2022-04-12 21:53 铭啾同志拜托了
阅读(112)
评论(0)
推荐(0)
2022年3月27日
实验1 C语言开发环境使用和编程初体验
摘要: Task 1-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
阅读全文
posted @ 2022-03-27 21:23 铭啾同志拜托了
阅读(26)
评论(3)
推荐(0)
公告