摘要: task2: task2.cpp #include <iostream> #include <fstream> #include <vector> #include "Person.hpp" int main() { using namespace std; vector<Person> phone 阅读全文
posted @ 2021-12-10 13:09 hzx333 阅读(34) 评论(3) 推荐(0)
摘要: task2: 原: 1 #include<iostream> 2 #include<typeinfo> 3 4 using namespace std; 5 6 class graph{ 7 public: 8 void draw(){ 9 cout << "graph::draw() : just 阅读全文
posted @ 2021-11-26 17:04 hzx333 阅读(55) 评论(3) 推荐(0)
摘要: task4: vector_int.hpp 1 #include<iostream> 2 using namespace std; 3 4 class vector_int{ 5 public: 6 ~vector_int(){ 7 delete a; 8 show(); 9 } 10 vector 阅读全文
posted @ 2021-11-09 22:13 hzx333 阅读(51) 评论(3) 推荐(0)
摘要: task5: #include<iostream> #include<vector> #include<string> #include"info.hpp" using namespace std; int main() { int t = 0, i = 0; char choice; cout < 阅读全文
posted @ 2021-10-28 09:02 hzx333 阅读(23) 评论(3) 推荐(1)
摘要: Task3: Complex.hpp #include<iostream> #include<cmath> using namespace std; class Complex { public: Complex(double m_real=0,double m_imag=0):real(m_rea 阅读全文
posted @ 2021-10-23 10:00 hzx333 阅读(50) 评论(3) 推荐(1)