摘要: 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 拾壹月風 阅读(28) 评论(1) 推荐(0) 编辑
摘要: 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 拾壹月風 阅读(43) 评论(1) 推荐(0) 编辑
摘要: 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 拾壹月風 阅读(27) 评论(1) 推荐(0) 编辑
摘要: 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 拾壹月風 阅读(87) 评论(3) 推荐(0) 编辑
摘要: 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 拾壹月風 阅读(38) 评论(3) 推荐(0) 编辑