⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fig5_9printf.txt

📁 用三个类来研究类的继承!类Point、Circle、Cylinder
💻 TXT
字号:
编译的命令为:
	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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -