会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Canton
博客园
首页
新随笔
联系
订阅
管理
随笔 - 6
文章 - 0
评论 - 11
阅读 -
86
2022年6月13日
实验六
摘要: 1 #include <stdio.h> 2 #define N 4 3 4 int main() 5 { 6 int x[N] = {1, 9, 8, 4}; 7 int i; 8 int *p; 9 10 // 方式1:通过数组名和下标遍历输出数组元素 11 for(i=0; i<N; ++i)
阅读全文
posted @ 2022-06-13 21:46 映月三花
阅读(16)
评论(2)
推荐(0)
2022年6月6日
实验五
摘要: task1-1 1 #include <stdio.h> 2 #define N 5 3 #define M 80 4 typedef struct 5 { 6 char name[M]; 7 char author[M]; 8 }Book; 9 int main() 10 { 11 Book x[
阅读全文
posted @ 2022-06-06 21:54 映月三花
阅读(15)
评论(2)
推荐(0)
2022年5月9日
实验四
摘要: 1 #include<stdio.h> 2 #define N 4 3 4 int main() 5 { 6 int a[N]={2,0,2,2}; 7 char b[N]={'2','0','2','2'}; 8 int i; 9 10 printf("sizeof(int) = %d\n",si
阅读全文
posted @ 2022-05-09 22:05 映月三花
阅读(8)
评论(1)
推荐(0)
2022年4月25日
实验三
摘要: 1 #define N 80 2 3 void printText(int Line, int col, char text[]); 4 void printSpaces(int n); 5 void printBlankLines(int n); 6 7 int main() 8 { 9 int
阅读全文
posted @ 2022-04-25 19:40 映月三花
阅读(16)
评论(2)
推荐(0)
2022年4月19日
实验二
摘要: 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 7 int main() /*随机选取 5个2018届~2021届的学生学号*/ 8 { 9 int grade, number; 10 int
阅读全文
posted @ 2022-04-19 09:01 映月三花
阅读(8)
评论(2)
推荐(0)
2022年3月28日
实验一
摘要: 1 #include<stdio.h> 2 3 int main() 4 { 5 printf(" O O \n"); 6 printf("<H> <H>\n"); 7 printf("I I I I\n"); 8 9 return 0; 10 } #include<stdio.h> int mai
阅读全文
posted @ 2022-03-28 15:00 映月三花
阅读(23)
评论(2)
推荐(0)
公告
昵称:
映月三花
园龄:
3年2个月
粉丝:
0
关注:
0
<
2025年6月
>
日
一
二
三
四
五
六
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
点击右上角即可分享