摘要: #pragma once #include<iostream> #include<string> #include <istream> #include <sstream> using namespace std; class Person { private: string name, telep 阅读全文
posted @ 2021-12-14 01:18 此生不想敲代码 阅读(29) 评论(3) 推荐(0) 编辑
摘要: #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as an interfac 阅读全文
posted @ 2021-11-30 12:25 此生不想敲代码 阅读(26) 评论(2) 推荐(0) 编辑
摘要: #ifndef VECTOR_INT #define VECTOR_INT #include<iostream> #include<cassert> using namespace std; class Vector_int { public: Vector_int(int n); Vector_i 阅读全文
posted @ 2021-11-07 19:16 此生不想敲代码 阅读(29) 评论(3) 推荐(0) 编辑
摘要: //info.hpp #include<iostream> #include<string> using namespace std; class info{ public: void enter(string a,string b,string c,int d):nickname(a),conta 阅读全文
posted @ 2021-11-01 23:40 此生不想敲代码 阅读(16) 评论(3) 推荐(0) 编辑
摘要: #include<iostream> #include<cmath> class Complex { public: Complex(double i = 0, double j = 0) :a{ i }, b{ j }{} Complex(Complex const& p) :a{ p.a }, 阅读全文
posted @ 2021-10-24 22:34 此生不想敲代码 阅读(33) 评论(2) 推荐(0) 编辑