摘要: 给出下面的一个基类框架: class Point_1D { protected: float x;//1D 点的x坐标 public: Point_1D(float p = 0.0); float distance( );//计算当前点到原点的距离 } 以Point_1D为基类建立一个派生类Poin 阅读全文
posted @ 2018-04-27 16:24 QianweiZ 阅读(2898) 评论(0) 推荐(0) 编辑