会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ymmmnn
博客园
首页
新随笔
联系
订阅
管理
2021年12月14日
实验五 模板类与多态
摘要: 实验任务二 Person.hpp 1 #ifndef PERSON_HPP 2 #define PERSON_HPP 3 4 #include<iostream> 5 #include<string> 6 #include<iomanip> 7 8 using namespace std; 9 10
阅读全文
posted @ 2021-12-14 14:50 ymmmnn
阅读(44)
评论(3)
推荐(0)
2021年11月28日
实验4 继承
摘要: 实验任务2 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an in
阅读全文
posted @ 2021-11-28 23:13 ymmmnn
阅读(37)
评论(2)
推荐(0)
2021年11月6日
实验三 类和对象Ⅱ
摘要: 实验任务4 vector_int.hpp 1 #ifndef VECTOR_INT_HPP 2 #define VECTOR_INT_HPP 3 4 #include<iostream> 5 #include<cassert> 6 7 class Vector_int{ 8 public: 9 Ve
阅读全文
posted @ 2021-11-06 16:29 ymmmnn
阅读(42)
评论(3)
推荐(0)
2021年10月31日
实验二 数组、指针和c++标准库
摘要: 实验任务5 Info.hpp #ifndef INFO_HPP #define INFO_hpp #include<iostream> #include<string> #include<iomanip> using namespace std; class Info{ private: strin
阅读全文
posted @ 2021-10-31 21:03 ymmmnn
阅读(16)
评论(3)
推荐(0)
2021年10月24日
实验一 类和对象
摘要: 四、实验结论 实验任务三 complex.hpp 1 #ifndef COMPLEX_HPP 2 #define COMPLEX_Hpp 3 4 #include<iostream> 5 #include<cmath> 6 7 using namespace std; 8 9 class Compl
阅读全文
posted @ 2021-10-24 23:43 ymmmnn
阅读(48)
评论(3)
推荐(0)
公告