摘要: 实验任务二 person.hpp源码 #include<iostream> #include<iomanip> #include<string> using namespace std; class Person { private: string name, telephone, email; p 阅读全文
posted @ 2021-12-11 13:59 Asll321 阅读(24) 评论(5) 推荐(0) 编辑
摘要: task2程序源码 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: void draw() { std::cout << "Graph::draw() : just as a 阅读全文
posted @ 2021-11-27 19:51 Asll321 阅读(30) 评论(2) 推荐(0) 编辑
摘要: 实验任务4 vector_int.hpp #ifndef VECTOR_INT_HPP #define VECTOR_INT_HPP #include<iostream> using namespace std; class vector_int { public: vector_int(int n 阅读全文
posted @ 2021-11-09 18:48 Asll321 阅读(32) 评论(3) 推荐(0) 编辑
摘要: info.h文件源码 #ifndef INFO_H #define INFO_H #include<iostream> #include<string> using namespace std; class info { private: string nickname; string contac 阅读全文
posted @ 2021-10-30 21:05 Asll321 阅读(15) 评论(3) 推荐(0) 编辑
摘要: #ifndef COMPLEX_H #define COMPLEX_H #include<iostream> #include<cmath> class Complex { private: float real; float imag; public: Complex(float a = 0, f 阅读全文
posted @ 2021-10-24 22:57 Asll321 阅读(35) 评论(3) 推荐(0) 编辑