Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop Other
Title: 4_2 Download
 Description: Define a cube class contains data members are left coordinate position and the coordinate position of the lower right corner of the cube, and to achieve the following requirements. Requirements: 1) into the two-dimensional coordinates constructor to initialize member variables point 2) another constructor into a coordinate position and a side to construct a cube 3) A member function evaluation center of the cube 4) a member function to get the cube of volume and surface area 5) Add a static member variable statistics how many objects are in the current lifetime, add a static member variable represents a generation how many objects 6) Add a static member function to get the above two static member variables. 7) The main function tests have written functions.
 Downloaders recently: [More information of uploader 杨世坤]
 To Search:
File list (Check if you may need any files):
 

4_2.cpp
    

CodeBus www.codebus.net