点,派生到圆。

#include <iostream>//派生类举例。 using namespace std;//点,派生到圆。 class point //点为基类 { private: float x; float y; public: void setp(float a,float b) {x=a,y=b;} float getx(){return x;} flo
相关文章
相关标签/搜索