会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
一刀一个小盆友
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2019年6月18日
实验六
摘要: part 2 // 合并两个文件内容到一个新文件中。 // 文件名均从键盘输入 #include <iostream> #include <fstream> #include <string> #include <cstdlib> using namespace std; int main() {
阅读全文
posted @ 2019-06-18 13:05 一刀一个小盆友
阅读(138)
评论(2)
推荐(0)
编辑
2019年6月3日
实验五
摘要: #include <iostream> #include "MachinePets.h" #include "Petcats.h" #include "Petdogs.h" using namespace std; void play(MachinePets *m){ cout<<m->getnic
阅读全文
posted @ 2019-06-03 23:56 一刀一个小盆友
阅读(153)
评论(0)
推荐(0)
编辑
2019年5月21日
实验4
摘要: #ifndef CAR_H #define CAR_H #include<iostream> #include<string> using namespace std; class Car { public: Car(string maker0, string model0, int year0,
阅读全文
posted @ 2019-05-21 21:40 一刀一个小盆友
阅读(169)
评论(1)
推荐(0)
编辑
2019年4月30日
期中
摘要: #include "date.h" #include "utils.h" #include using std::cout; using std::endl; Date::Date(){ year=1970; month=1; day=1; } Date::Date(int y, int m, int d){ year=y; month=m; day=d;} void Date::di...
阅读全文
posted @ 2019-04-30 15:07 一刀一个小盆友
阅读(144)
评论(1)
推荐(0)
编辑
2019年4月23日
实验3
摘要: 2.画布 3.分数
阅读全文
posted @ 2019-04-23 22:10 一刀一个小盆友
阅读(124)
评论(0)
推荐(0)
编辑
2019年4月2日
设计、定义并实现Complex类
摘要: 设计、定义并实现Complex类 思考: 1.书中要求输入“complex c2=4.5”,但是我只会“complex c2(4.5)”,算是一处美中不足,要是考试肯定要扣分 2.我尝试单独定义一个”complex(double a);”来定义c2,但是结果却是c2输入4.5会报错,一定要按照c2(
阅读全文
posted @ 2019-04-02 21:26 一刀一个小盆友
阅读(427)
评论(1)
推荐(0)
编辑
2019年3月26日
实验二
摘要: 1、函数重载框架练习 2、快速排序 3、类的定义、实现与使用
阅读全文
posted @ 2019-03-26 22:45 一刀一个小盆友
阅读(189)
评论(10)
推荐(0)
编辑
2019年3月19日
实验1
摘要: 2-28 菜单程序 1、if slse 2、switch 2-29 穷举法 1、while 2、do...while 2-32 猜大小 1、while 2、do...while 2-34 5球取3取法几何
阅读全文
posted @ 2019-03-19 14:15 一刀一个小盆友
阅读(189)
评论(4)
推荐(0)
编辑