会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
人生何处不青山L
博客园
首页
新随笔
联系
订阅
管理
2021年12月9日
实验五 模板类与多态
摘要: 《实验任务2》 “Person.hpp” #include <iostream> #include <algorithm> #include <string> #include <iomanip> using namespace std; class Person { private: string
阅读全文
posted @ 2021-12-09 21:51 人生何处不青山L
阅读(23)
评论(2)
推荐(0)
2021年11月24日
实验四 继承
摘要: "Battery.hpp" #ifndef BATTERY_HPP #define BATTERY_HPP #include <bits/stdc++.h> using namespace std; class Battery { public: Battery(int _capacity = 70
阅读全文
posted @ 2021-11-24 17:26 人生何处不青山L
阅读(52)
评论(3)
推荐(0)
2021年11月8日
实验三 类和对象II
摘要: 实验任务4 “Vector_int.hpp" #ifndef VECTOR_INT #define VECTOR_INT #include <bits/stdc++.h> using namespace std; class Vector_int { public: Vector_int(int n
阅读全文
posted @ 2021-11-08 21:04 人生何处不青山L
阅读(14)
评论(4)
推荐(0)
2021年10月27日
实验二 实验2 数组、指针与C++标准库
摘要: 实验任务5 "info.hpp" #ifndef INFO_HPP #define INFO_HPP #include <bits/stdc++.h> using namespace std; class info { private: string name; string contact; st
阅读全文
posted @ 2021-10-27 17:23 人生何处不青山L
阅读(58)
评论(3)
推荐(0)
2021年10月21日
实验一 类与对象
摘要: 实验任务3 "Complex.hpp" #ifndef COMPLEX_HPP #define COMPLEX_HPP #include <bits/stdc++.h> using namespace std; class Complex { public: Complex(double a=0.0
阅读全文
posted @ 2021-10-21 13:04 人生何处不青山L
阅读(63)
评论(4)
推荐(0)
公告