📄 c03p142.txt
字号:
#include <iostream.h>#include "Sphere.h"int main(){ Sphere unitSphere; // radius is 1.0 Sphere mySphere(5.1); // radius is 5.1 unitSphere.displayStatistics(); mySphere.setRadius(4.2); // resets radius to 4.2 cout << mySphere.getDiameter() << endl; return 0;} // end main
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -