T
theone_jxm
Unregistered / Unconfirmed
GUEST, unregistred user!
TFigure = (TRectangle, TTriangle, TCircle);
TPolygon = record
X, Y: Real;
case Tipo: TFigure of
TRectangle: (Height, Width: Real);
TTriangle: (Side1, Side2, Angle: Real);
TCircle: (Radius: Real);
end;
请问怎么改成c++描述
TPolygon = record
X, Y: Real;
case Tipo: TFigure of
TRectangle: (Height, Width: Real);
TTriangle: (Side1, Side2, Angle: Real);
TCircle: (Radius: Real);
end;
请问怎么改成c++描述