会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
纸鸢*
博客园
首页
新随笔
联系
订阅
管理
2021年12月13日
实验五
摘要: task2 person.hpp #include<iostream> #include<string> #include<iomanip> using namespace std; class Person { public: Person(string name0,string telephon
阅读全文
posted @ 2021-12-13 16:48 纸鸢*
阅读(34)
评论(2)
推荐(0)
2021年11月29日
实验四 继承
摘要: task2.cpp 改动后代码 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: virtual void draw() { std::cout << "Graph::draw
阅读全文
posted @ 2021-11-29 19:19 纸鸢*
阅读(45)
评论(2)
推荐(0)
2021年11月6日
实验三
摘要: task4 vector_int.hpp代码如下 #include<iostream> #include<cassert> using namespace std; class Vector_int{ public: Vector_int(int n); Vector_int(int n,int m
阅读全文
posted @ 2021-11-06 20:24 纸鸢*
阅读(19)
评论(2)
推荐(0)
2021年10月31日
实验二 数组、指针与c++标准库
摘要: task5 Info.hpp代码如下 #include<iostream> #include<string> using namespace std; class Info{ public: Info(string nickname1,string contact1,string city1,int
阅读全文
posted @ 2021-10-31 16:34 纸鸢*
阅读(44)
评论(3)
推荐(1)
2021年10月22日
实验一 类与对象
摘要: task 3 Complex.hpp 代码如下: #include<iostream> #include<math.h> using namespace std; class Complex{ public: Complex(); Complex(double real1,double imag1)
阅读全文
posted @ 2021-10-22 10:24 纸鸢*
阅读(75)
评论(3)
推荐(1)
task4
摘要: task4 User.hpp 代码如下: #include<iostream> #include<string> using namespace std; class User{ public: User(string name1); User(string name1,string passwor
阅读全文
posted @ 2021-10-22 10:18 纸鸢*
阅读(28)
评论(0)
推荐(0)
2021年10月20日
task3
摘要: task3 Complex.hpp 代码 #include<iostream> #include<math.h> using namespace std; class Complex{ public: Complex(); Complex(double real1,double imag1); Co
阅读全文
posted @ 2021-10-20 22:54 纸鸢*
阅读(23)
评论(0)
推荐(0)
公告