摘要:
实验任务二 Person类 #include<iostream> #include<string> using namespace std; class Person { public: Person(){}; Person(string name,string telephone,string e 阅读全文
摘要:
任务四 Vector_int类定义如下: #include<iostream> #include <cassert> using namespace std; class Vector_int{ public: Vector_int(int Size,int Value = 0); Vector_i 阅读全文
摘要:
实验三 实验三代码如下: 1、Complex类实现: #include<iostream> #include<cmath> class Complex{ public: Complex(){ } Complex(double x,double y=0){ a = x; b = y; } Comple 阅读全文