文件名称:3
介绍说明--下载内容均来自于网络,请自行研究使用
设计一个立方体类Box,能够计算并输出立方体的表面积和体积。
提示:定义一个立方体类Box,包含一个私有数据成员(立方体边长),两个公有函数(构造函数Box和计算并输出立方体的表面积和体积的函数show)。
-Design of a cube class Box, the output can be calculated and the surface area and volume of the cube. Tip: define a class cube Box, comprising a private data member (cubic edge length), two public methods (Box constructor and calculates and outputs the surface area and volume of a cube function show).
提示:定义一个立方体类Box,包含一个私有数据成员(立方体边长),两个公有函数(构造函数Box和计算并输出立方体的表面积和体积的函数show)。
-Design of a cube class Box, the output can be calculated and the surface area and volume of the cube. Tip: define a class cube Box, comprising a private data member (cubic edge length), two public methods (Box constructor and calculates and outputs the surface area and volume of a cube function show).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
3
.\3.cpp
.\3.exe
.\3.obj
.\tempfile.exe