點,派生到圓。

#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
相關文章
相關標籤/搜索