11 2022 档案
摘要:#include <iostream>using namespace std; class myComplex{private: double real,imag;public: myComplex(); myComplex(double r,double i); void outCom(); my
阅读全文
摘要:#include <iostream>#include <cmath>using namespace std; class Point{private: double x,y; friend class Line;public: Point(double i=0,double j=0) { x=i;
阅读全文
摘要:#include <iostream>using namespace std; class myComplex //复数类{private: double real,imag;public: myComplex(); myComplex(double r,double i); friend clas
阅读全文
摘要:源程序: #include <iostream>using namespace std;class constClass{private: const int conMbr; int Mbr;public: constClass():conMbr(0),Mbr(100){}; constClass(
阅读全文