摘要: 实验任务二 person.hpp #include<iostream> #include<string> #include<fstream> #include<iomanip> #include<limits> using namespace std; class person { public: 阅读全文
posted @ 2021-12-13 19:15 白白的蓝天 阅读(34) 评论(3) 推荐(0) 编辑
摘要: task2.cpp #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: virtual void draw() { std::cout << "Graph::draw() : j 阅读全文
posted @ 2021-11-29 17:59 白白的蓝天 阅读(33) 评论(3) 推荐(0) 编辑
摘要: vector_int.hpp: #include<iostream> using namespace std; class vector_int { public: vector_int(int n); vector_int(int n,int m); vector_int(const vector 阅读全文
posted @ 2021-11-08 21:07 白白的蓝天 阅读(9) 评论(3) 推荐(0) 编辑
摘要: #include<iostream> #include<string> using namespace std; class info { private: string nick; string con; string city; int n; public: info(string nick,s 阅读全文
posted @ 2021-10-31 16:12 白白的蓝天 阅读(46) 评论(3) 推荐(0) 编辑
摘要: #include<iostream> #include<cmath> using namespace std; class Complex { public: Complex(int r=0,int i=0):real((double)r),imag((double)i){} Complex(dou 阅读全文
posted @ 2021-10-25 22:29 白白的蓝天 阅读(33) 评论(3) 推荐(0) 编辑