会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
HUYEZ
博客园
首页
新随笔
联系
订阅
管理
2021年12月14日
实验五
摘要: #ifndef PERSON_HPP #define PERSON_HPP #include <iostream> #include <string> using namespace std; class Person { public: Person(){}; Person(string name
阅读全文
posted @ 2021-12-14 19:17 HUYEZ
阅读(22)
评论(3)
推荐(0)
2021年11月29日
实验四 继承
摘要: #ifndef BATTER_HPP #define BATTER_HPP #include <iostream> using namespace std; class Batter { public: Batter(int capacity = 70) : capacity(capacity) {
阅读全文
posted @ 2021-11-29 16:29 HUYEZ
阅读(29)
评论(2)
推荐(0)
2021年11月8日
实验3 类和对象Ⅱ
摘要: #ifndef VECTOR_INT_HPP #define VECTOR_INT_HPP #include <iostream> #include <cassert> using namespace std; class Vector_int { public: Vector_int(){}; V
阅读全文
posted @ 2021-11-08 20:11 HUYEZ
阅读(39)
评论(3)
推荐(0)
2021年10月31日
实验2 数组、指针与C++标准库
摘要: #ifndef INFO_HPP #define INFO_HPP #include <iostream> #include <string> #include <vector> #include <iomanip> using namespace std; class Info { public:
阅读全文
posted @ 2021-10-31 18:36 HUYEZ
阅读(39)
评论(3)
推荐(0)
2021年10月25日
实验一 类与对象
摘要: #ifndef COMPLEX_HPP #define COMPLEX_HPP #include <iostream> #include <string> #include <iomanip> #include <math.h> using namespace std; class Complex
阅读全文
posted @ 2021-10-25 18:13 HUYEZ
阅读(33)
评论(3)
推荐(0)
公告