会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
拾壹月風
博客园
首页
新随笔
联系
订阅
管理
2021年12月11日
实验五 类模板和多态
摘要: task2 Person.hpp #include<iostream> #include<string> using namespace std; class Person { public: Person()=default; Person(string n_name,string n_telep
阅读全文
posted @ 2021-12-11 21:40 拾壹月風
阅读(37)
评论(1)
推荐(0)
2021年11月23日
实验4 继承
摘要: task2: 原: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as a
阅读全文
posted @ 2021-11-23 20:52 拾壹月風
阅读(58)
评论(1)
推荐(0)
2021年11月6日
实验3 类和对象Ⅱ
摘要: task4: vector_int.hpp: #include<iostream> using namespace std; class vector_int { public: vector_int(int n); vector_int(int n,int t); vector_int(const
阅读全文
posted @ 2021-11-06 11:46 拾壹月風
阅读(35)
评论(1)
推荐(0)
2021年10月27日
实验2 数组、指针与C++标准库
摘要: task5: #include"Info.hpp" #include<iostream> #include<vector> #include<string> using namespace std; static int i=0,t=0; int main() { vector<Info> audi
阅读全文
posted @ 2021-10-27 17:29 拾壹月風
阅读(96)
评论(3)
推荐(0)
2021年10月20日
实验一 类与对象
摘要: task3 #include "Complex.hpp" #include <iostream> int main() { using namespace std; Complex c1(2, -3); const Complex c2(2.7); Complex c3(c1); cout << "
阅读全文
posted @ 2021-10-20 23:07 拾壹月風
阅读(51)
评论(3)
推荐(0)
公告