11 2020 档案

摘要:#include <iostream>#include <Cmath>using namespace std;class Pixel;class Test{public: void printX(Pixel p);}; class Pixel{private: int x,y;public: Pix 阅读全文
posted @ 2020-11-29 20:44 bobo哥 阅读(124) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>using namespace std;class CType{private: int radius; int width;public: CType():radius(16),width(185){}; CType(int r,int w):radius(r 阅读全文
posted @ 2020-11-29 19:56 bobo哥 阅读(83) 评论(0) 推荐(0) 编辑
摘要:abstract class Geometry{ public abstract double getArea();} class Pillar{ Geometry bottom; double height; Pillar(Geometry bottom,double height) { this 阅读全文
posted @ 2020-11-24 21:07 bobo哥 阅读(79) 评论(0) 推荐(0) 编辑