摘要: task2.cpp #include <iostream> #include <fstream> #include <vector> #include "Person.hpp" int main() { using namespace std; vector<Person> phone_book; 阅读全文
posted @ 2021-12-15 00:25 芍灸 阅读(10) 评论(2) 推荐(0) 编辑
摘要: task2 程序源码 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as 阅读全文
posted @ 2021-11-27 20:59 芍灸 阅读(24) 评论(1) 推荐(0) 编辑
摘要: vector_int.hpp #include <iostream> #include <iomanip> #include <string> #include <cstdlib> #include <cassert> using namespace std; class Vector_int { 阅读全文
posted @ 2021-11-08 19:54 芍灸 阅读(11) 评论(2) 推荐(0) 编辑
摘要: info.hpp #include <iostream> #include <iomanip> #include <string> using namespace std; class Info { private: string nickname,contact,city; int n; publ 阅读全文
posted @ 2021-10-31 10:25 芍灸 阅读(13) 评论(3) 推荐(0) 编辑
摘要: #include<iostream> #include<math.h> using namespace std; class Complex { private: double a,b; public: Complex(); Complex(double a1); Complex(double a1 阅读全文
posted @ 2021-10-25 22:46 芍灸 阅读(43) 评论(3) 推荐(0) 编辑