会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
harbor08
博客园
首页
新随笔
联系
订阅
管理
2022年6月14日
实验六
摘要: 注:实验一至三于周二实验课完成 任务1-1 #include <stdio.h> #define N 4 int main() { int x[N] = {1, 9, 8, 4}; int i; int *p; // 方式1:通过数组名和下标遍历输出数组元素 for(i=0; i<N; ++i) p
阅读全文
posted @ 2022-06-14 10:54 哈波将军
阅读(34)
评论(1)
推荐(0)
2022年6月7日
实验5
摘要: 任务1-1 // 将图书信息写入文本文件data1.txt #include <stdio.h> #define N 5 #define M 80 typedef struct { char name[M]; // 书名 char author[M]; // 作者 }Book; int main()
阅读全文
posted @ 2022-06-07 09:46 哈波将军
阅读(30)
评论(0)
推荐(0)
2022年5月10日
实验四
摘要: 任务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", sizeo
阅读全文
posted @ 2022-05-10 09:45 哈波将军
阅读(35)
评论(0)
推荐(0)
2022年4月26日
实验3
摘要: 任务 1 #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 80 void printText(int line, int col, char text[]);//函数声明 void printSpaces(int n);
阅读全文
posted @ 2022-04-26 10:39 哈波将军
阅读(24)
评论(0)
推荐(0)
2022年4月19日
实验2
摘要: 任务1 任务2 任务3 任务4 任务5 任务6-1 任务6-2 任务6-3
阅读全文
posted @ 2022-04-19 11:41 哈波将军
阅读(17)
评论(0)
推荐(0)
2022年3月31日
Week5 M2
摘要:
阅读全文
posted @ 2022-03-31 21:23 哈波将军
阅读(12)
评论(0)
推荐(0)
Week5 M1
摘要:
阅读全文
posted @ 2022-03-31 09:30 哈波将军
阅读(8)
评论(0)
推荐(0)
Week4 M1
摘要:
阅读全文
posted @ 2022-03-31 08:58 哈波将军
阅读(12)
评论(0)
推荐(0)
公告