会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
潘俊杰
博客园
首页
新随笔
联系
订阅
管理
2021年12月12日
实验五
摘要: 实验任务2 Person.hpp #include<iostream> #include<string> using namespace std; class Person{ public: Person(){}; Person(string a,string b,string c=" "):nam
阅读全文
posted @ 2021-12-12 16:20 潘俊杰
阅读(59)
评论(0)
推荐(0)
2021年11月26日
实验四
摘要: 实验任务2 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an in
阅读全文
posted @ 2021-11-26 12:36 潘俊杰
阅读(8)
评论(0)
推荐(0)
2021年11月7日
实验三
摘要: 实验任务四 vector.hpp #include<iostream> using namespace std; class Vector_int{ public: Vector_int(int n):size(n){ a=new int[size]; cout<<"Default Construc
阅读全文
posted @ 2021-11-07 11:53 潘俊杰
阅读(35)
评论(1)
推荐(0)
2021年10月28日
实验二
摘要: 实验结论: 实验任务5: info.hpp #include <iostream> #include <vector> #include <string> using namespace std; class Info{ private: string nickname; string contac
阅读全文
posted @ 2021-10-28 21:04 潘俊杰
阅读(18)
评论(2)
推荐(0)
2021年10月22日
实验一 类与对象
摘要: 实验结论: 实验任务三: Complex.hpp #include<iostream> #include<math.h> using namespace std; class Complex { public: Complex():real(0),imag(0){} Complex(float x)
阅读全文
posted @ 2021-10-22 19:20 潘俊杰
阅读(45)
评论(3)
推荐(0)
公告