会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小笙儿的妙妙
博客园
首页
新随笔
联系
管理
订阅
2021年12月11日
实验五 模板类与多态
摘要: task2 Person.hpp #ifndef PERSON_HPP #define PERSON_HPP #include<iostream> #include<iomanip> using namespace std; class Person { private: string name;
阅读全文
posted @ 2021-12-11 11:41 小笙儿的妙妙
阅读(59)
评论(3)
推荐(0)
2021年11月27日
实验四 继承
摘要: task 2 未修改前: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just a
阅读全文
posted @ 2021-11-27 12:47 小笙儿的妙妙
阅读(51)
评论(3)
推荐(0)
2021年11月4日
实验三 类与对象2
摘要: task 4 #ifndef VECTOR_INT_HPP #define VECTOR_INT_HPP #include<iostream> #include<cassert> using namespace std; class Vector_int { public: Vector_int(i
阅读全文
posted @ 2021-11-04 18:10 小笙儿的妙妙
阅读(38)
评论(3)
推荐(0)
2021年10月27日
实验二 数组、指针与c++标准库
摘要: task 5 info.hpp #ifndef INFO_HPP #define INFO_HPP #include<iostream> #include<string> using namespace std; class Info { public: Info(string x,string y
阅读全文
posted @ 2021-10-27 21:02 小笙儿的妙妙
阅读(46)
评论(3)
推荐(0)
2021年10月21日
实验一 类与对象
摘要: task3. #ifndef COMPLEX_HPP #define COMPLEX_HPP #include<iostream> #include<cmath> using namespace std; class Complex { public: Complex(double x=0,doub
阅读全文
posted @ 2021-10-21 21:29 小笙儿的妙妙
阅读(34)
评论(3)
推荐(0)
公告