摘要: #include <iostream>using namespace std; class myComplex{private: double real,imag;public: myComplex(); myComplex(double r,double i); void outCom(); my 阅读全文
posted @ 2022-11-19 20:37 bobo哥 阅读(44) 评论(0) 推荐(0)
摘要: #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; 阅读全文
posted @ 2022-11-19 19:17 bobo哥 阅读(32) 评论(0) 推荐(0)
摘要: #include <iostream>using namespace std; class myComplex //复数类{private: double real,imag;public: myComplex(); myComplex(double r,double i); friend clas 阅读全文
posted @ 2022-11-19 18:48 bobo哥 阅读(40) 评论(0) 推荐(0)