摘要: #include <iostream>using namespace std; class Point{public: // 构造函数 Point() { x = 0; y = 0; } Point(double xx, double yy) { x = xx; y = yy; } // 输出坐标 阅读全文
posted @ 2020-04-12 00:01 Bingo冰狗 阅读(70) 评论(0) 推荐(0)
摘要: #include <iostream>using namespace std; class Point{public: // 构造函数 Point() { x = 0; y = 0; } Point(double xx, double yy) { x = xx; y = yy; } // 输出坐标 阅读全文
posted @ 2020-04-11 23:53 Bingo冰狗 阅读(270) 评论(0) 推荐(0)