会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
沐尘河
2019年6月4日
实验五
摘要: #include <iostream> #include "MachinePets.h" #include "Petcats.h" #include "Petdogs.h" using namespace std; void play(MachinePets *m){ cout<<m->getnic
阅读全文
posted @ 2019-06-04 12:55 沐尘河
阅读(102)
评论(0)
推荐(0)
2019年4月23日
实验三
摘要: // 类graph的实现 #include "graph.h" #include using namespace std; // 带参数的构造函数的实现 Graph::Graph(char ch, int n): symbol(ch), size(n) { } // 成员函数draw()的实现 // 功能:绘制size行,显示字符为symbol的指定图形样式 void Grap...
阅读全文
posted @ 2019-04-23 21:09 沐尘河
阅读(82)
评论(1)
推荐(0)
2019年4月2日
complex类
摘要: #include #include using namespace std; class complex{ public: complex(double real1=0,double imaginary1=0); complex(complex &t); void add(complex a); void show();...
阅读全文
posted @ 2019-04-02 21:08 沐尘河
阅读(79)
评论(1)
推荐(0)
2019年3月26日
实验二
摘要: 属实我弄不出来。。。。 所以没有结果图
阅读全文
posted @ 2019-03-26 23:31 沐尘河
阅读(111)
评论(1)
推荐(0)
2019年3月19日
试验一
摘要: #include using namespace std; int main() {char choice,c; while(1) {cout >c; choice=toupper(c); if(choice=='A') {cout using namespace std; int main() {char x; while(true) {cout>x; switch(x){ case 'A...
阅读全文
posted @ 2019-03-19 20:57 沐尘河
阅读(104)
评论(1)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告