11 2022 档案

摘要:#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哥 阅读(39) 评论(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哥 阅读(30) 评论(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哥 阅读(36) 评论(0) 推荐(0) 编辑
摘要:源程序: #include <iostream>using namespace std;class constClass{private: const int conMbr; int Mbr;public: constClass():conMbr(0),Mbr(100){}; constClass( 阅读全文
posted @ 2022-11-12 20:43 bobo哥 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-11-10 17:13 bobo哥 阅读(37) 评论(0) 推荐(0) 编辑