会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
胖头鱼鱼鱼鱼
博客园
首页
新随笔
联系
订阅
管理
2021年11月30日
实验四 继承
摘要: 实验四 继承 实验任务二 task2.cpp #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: virtual void draw() { std::cout << "Grap
阅读全文
posted @ 2021-11-30 22:59 胖头鱼鱼鱼鱼
阅读(45)
评论(3)
推荐(0)
2021年11月10日
实验3 类和对象Ⅱ
摘要: 实验四 Vector_int.hpp #include <iostream> #include <cassert> #include <cstring> using namespace std; class Vector_int { public: Vector_int(int _size) :si
阅读全文
posted @ 2021-11-10 15:02 胖头鱼鱼鱼鱼
阅读(38)
评论(3)
推荐(0)
2021年11月3日
实验2 数组、指针与C++标准库
摘要: 实验任务五 info.hpp #ifndef info_hpp #define info_hpp #include <iostream> #include <string> #include <iomanip> using namespace std; class info { public: in
阅读全文
posted @ 2021-11-03 11:56 胖头鱼鱼鱼鱼
阅读(17)
评论(2)
推荐(0)
2021年10月24日
实验一 类与对象
摘要: 实验任务三 Complex.hpp #ifndef _Complex_hpp #define _Complex_hpp #include <iostream> #include <cmath> using namespace std; class Complex { public: Complex(
阅读全文
posted @ 2021-10-24 08:53 胖头鱼鱼鱼鱼
阅读(26)
评论(3)
推荐(0)
公告