会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
江北河豚
博客园
首页
新随笔
联系
订阅
管理
2019年12月29日
实验七
摘要: Part1:验证性实验 验证性实验2 正确 对比:二进制文件以二进制的方式存储,节省空间 文本文件解释格式为ASCLL编码,只能存储字符 #include <stdio.h> #include <stdlib.h> #define N 10 typedef struct student { int
阅读全文
posted @ 2019-12-29 16:09 江北河豚
阅读(141)
评论(2)
推荐(0)
2019年12月24日
实验六
摘要: 实验结论 part 1 ex1_2.cpp #include <stdio.h> #include <stdlib.h> const int N=5; // 定义结构体类型struct student,并定义STU为其别名 typedef struct student { long no; char
阅读全文
posted @ 2019-12-24 12:32 江北河豚
阅读(82)
评论(2)
推荐(0)
2019年12月16日
实验五
摘要: 实验结论 part 1 结论:指向数组的指针为 *p[n] 指向一维数组的指针为 (*p)[n] 答案:ACE part 2 ex2_1_1.cpp // 练习:使用二分查找,在一组有序元素中查找数据项 // 形参是数组,实参是数组名 #include <stdio.h> #include <std
阅读全文
posted @ 2019-12-16 22:23 江北河豚
阅读(92)
评论(3)
推荐(0)
2019年11月28日
实验4
摘要: //寻找两个整数之间的所有素数(包括这两个整数),把结果保存在数组bb中,函数返回素数的个数。 // 例如,输入6和21,则输出为:7 11 13 17 19。 #include <stdio.h> #include <stdlib.h> #define N 1000 int fun(int n,i
阅读全文
posted @ 2019-11-28 23:21 江北河豚
阅读(111)
评论(5)
推荐(0)
2019年11月19日
实验3 循环语句
摘要: Part2 blank 1.cpp /* 编程找出5个整数的最大数和最小数 《C语言程序设计教程学习指导》p122实验内容(3) */ #include <stdio.h> #include <stdlib.h> int main() { int number, max, min, n; n=1;
阅读全文
posted @ 2019-11-19 09:57 江北河豚
阅读(177)
评论(3)
推荐(0)
2019年11月4日
实验2
摘要: Part1 ex2_1.cpp 第三行输出数据宽,数据长度<m,左补空格,否则按实际输出 第四行前两个同上,第三个.1为小数点后位数,第四个0指不使用空位置,第五个e是以指数形式输出 第六行 3 左边补空格 第八行 15s 左边补空格 第九行10.5s 总输出10位,实际输出5位 第十行2.5s 2
阅读全文
posted @ 2019-11-04 23:49 江北河豚
阅读(149)
评论(3)
推荐(0)
2019年10月20日
实验1作业及总结
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2019-10-20 15:04 江北河豚
阅读(9)
评论(0)
推荐(0)
公告