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
阅读全文
摘要:#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
阅读全文
摘要:abstract class Geometry{ public abstract double getArea();} class Pillar{ Geometry bottom; double height; Pillar(Geometry bottom,double height) { this
阅读全文