我想计算矩形、圆、正方形的面积,但是得出的结果是个地址?#includeusing namespace std;class Shape{public:\x05Shape()\x05{width=0.0;height=0.0;}\x05Shape(double w,double h)\x05{w=width;h=height;}\x05virtual Shape(){}\x05virtual d
来源:学生作业帮助网 编辑:作业帮 时间:2024/09/14 11:18:54
xSoP~0PD~|wt
mRK폡!Ͱ8͘nΙcfREk4H?D3RT6P-