2021年5月13日

C++类的应用、查看点和圆的关系、1、在圆上 2、在圆内 3、在圆外

摘要: #include <iostream> using namespace std; //点的类 class Point{ //两个私有属性 private: int m_X; int m_Y; //公共方法给点的 x和y两个属性赋值和取值 public: //设置x void setX(int x){ 阅读全文

posted @ 2021-05-13 14:17 袁佳佳 阅读(294) 评论(0) 推荐(0) 编辑

导航