philiplyf
春芽
共回答了20个问题采纳率:95% 举报
#include
#include
class CPoint
{
public:
CPoint(float cx = 0,float cy = 0)
{
x = cx;
y = cy;
}
protected:
float x,y;
};
class CRect :public CPoint
{
public:
CRect(float left,float top,float right,float bottom):CPoint(left,top)
{
R = right;
B = bottom;
}
void Zlength()
{
cout
1年前
2