会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小流Yu大洋
博客园
首页
新随笔
联系
订阅
管理
2021年12月12日
实验五
摘要: 实验二 Person.hpp #include<iostream> #include<string> using namespace std; class Person{ public: Person(){} Person(string a,string b,string c=" "):name(a
阅读全文
posted @ 2021-12-12 19:26 小流Yu大洋
阅读(25)
评论(2)
推荐(0)
2021年11月24日
实验四 继承
摘要: task2 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an in
阅读全文
posted @ 2021-11-24 18:59 小流Yu大洋
阅读(52)
评论(2)
推荐(0)
2021年11月3日
实验三 类与对象
摘要: #ifndef Vector_int_hpp #define Vector_int_hpp #include <iostream> using namespace std; class Vector_int { public: Vector_int(int n);//构造函数不含初始值 Vector
阅读全文
posted @ 2021-11-03 19:13 小流Yu大洋
阅读(17)
评论(2)
推荐(0)
2021年10月26日
实验二 数组、指针和C++标准库
摘要: #ifndef Info_hpp #define Info_hpp #include<iostream> #include<string> using namespace std; //Info类的定义 class Info { private: string nickname;//昵称 strin
阅读全文
posted @ 2021-10-26 20:54 小流Yu大洋
阅读(38)
评论(2)
推荐(0)
2021年10月21日
实验1 类与对象
摘要: 恢复内容开始 恢复内容开始 Complex类的定义 #include<iostream> #include<math.h> using namespace std; //类的定义 class Complex { public: //构造函数 Complex(){}; //构造函数重载 Complex
阅读全文
posted @ 2021-10-21 17:26 小流Yu大洋
阅读(52)
评论(3)
推荐(0)
公告