会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
本然月丶怪盗
博客园
首页
新随笔
联系
订阅
管理
2021年12月17日
实验5 模板类与多态
摘要: 实验任务2 <Person.hpp> #include <iostream> #include <fstream> #include <vector> #include<string> #include<iomanip> using namespace std; class Person { pri
阅读全文
posted @ 2021-12-17 20:20 KIDX2
阅读(34)
评论(3)
推荐(0)
2021年11月28日
实验4 继承
摘要: 实验任务2 <task2.cpp> #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : j
阅读全文
posted @ 2021-11-28 22:15 KIDX2
阅读(42)
评论(2)
推荐(0)
2021年11月6日
实验三: 类和对象Ⅱ
摘要: <vector_int.hpp> #ifndef VEXTOR_INT_HPP #define VEXTOR_INT_HPP #include<iostream> using namespace std; class Vector_int{ public: Vector_int(int n) :si
阅读全文
posted @ 2021-11-06 17:54 KIDX2
阅读(44)
评论(3)
推荐(0)
2021年10月30日
实验二 :数组、指针与c++标准库
摘要: <task5.cpp> #include"info.hpp" #include<iostream> #include<vector> #include<iomanip> using namespace std; const int capacity = 100; int main() { cout
阅读全文
posted @ 2021-10-30 12:55 KIDX2
阅读(58)
评论(3)
推荐(0)
2021年10月23日
实验一:类与对象
摘要: 实验三 <task3.cpp> #include "Complex.hpp" #include <iostream> int main() { using namespace std; Complex c1(6, -8); const Complex c2(3.5); Complex c3(c1);
阅读全文
posted @ 2021-10-23 14:49 KIDX2
阅读(55)
评论(3)
推荐(0)
公告