fig5_9printf.txt
来自「用三个类来研究类的继承!类Point、Circle、Cylinder」· 文本 代码 · 共 17 行
TXT
17 行
编译的命令为:
C:\tmp>bcc32 fig5_9.cpp cylinder2.cpp circle2.cpp point2.cpp
X coodinate is 1.2
Y coodinate is 2.3
Radius is 2.5
Height is 5.7
The new location, radius, and height of cy1 are:
Center=[2, 2]; Radius4.25; Height10.0
Area: 381.Volume: 567.
Cylinder printed as a point is: [2.00, 2.00]
Cylinder printed as a circle is: Center=[2.00, 2.00]; Radius=4.25
Area: 56.7
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?