摘要: 任务2 Person.hpp #pragma once #include<iostream> #include<iomanip> using namespace std; class Person { private: string name; string telephone; string em 阅读全文
posted @ 2021-12-12 13:48 耶耶M814 阅读(18) 评论(4) 推荐(0) 编辑
摘要: 实验任务二 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: virtual void draw() { std::cout << "Graph::draw() : just 阅读全文
posted @ 2021-11-28 21:52 耶耶M814 阅读(26) 评论(3) 推荐(0) 编辑
摘要: 实验任务四//vector_int.hpp#ifndef VECTOR_INT #define VECTOR_INT #include<iostream> #include<cassert> using namespace std; class Vector_int { public: Vector 阅读全文
posted @ 2021-11-07 11:53 耶耶M814 阅读(45) 评论(3) 推荐(0) 编辑
摘要: //实验任务5 //info.hpp #ifndef _INFO_HPP #define _INFO_HPP #include<iostream> #include <string> using namespace std; class Info { public: Info(string a, s 阅读全文
posted @ 2021-10-30 00:12 耶耶M814 阅读(46) 评论(4) 推荐(0) 编辑
摘要: #include<iostream> #include<math.h> using namespace std; class Complex { public: Complex(); Complex(double real1,double imag1); Complex(double real1); 阅读全文
posted @ 2021-10-25 16:05 耶耶M814 阅读(27) 评论(3) 推荐(0) 编辑