摘要:
任务2 Person.hpp #pragma once #include<iostream> #include<iomanip> using namespace std; class Person { private: string name; string telephone; string em 阅读全文
摘要:
实验任务二 #include <iostream> #include <typeinfo> // definitation of Graph class Graph { public: virtual void draw() { std::cout << "Graph::draw() : just 阅读全文
摘要:
实验任务四//vector_int.hpp#ifndef VECTOR_INT #define VECTOR_INT #include<iostream> #include<cassert> using namespace std; class Vector_int { public: Vector 阅读全文
摘要:
//实验任务5 //info.hpp #ifndef _INFO_HPP #define _INFO_HPP #include<iostream> #include <string> using namespace std; class Info { public: Info(string a, s 阅读全文
摘要:
#include<iostream> #include<math.h> using namespace std; class Complex { public: Complex(); Complex(double real1,double imag1); Complex(double real1); 阅读全文