Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop Other
Title: main Download
 Description: The design of a kind of CRectangle, a 5 data members ( private property ), are respectively rectangular left vertex abscissa ordinate rectangular, and the length, width and rectangular area. The class also has 5 member function ( public property ) and 1 friend function: rectangular moving position of the move ( ) function, alter the rectangle size size ( ) function, display the output data member of the show ( ) function, a constructor and destructor, friend function for rectangular area is area ( ), require the constructor according to the parameter ( default parameter values ) to initialize the object. And the prepared main function test the class each function ( define at least 2 object). In 1, main function defined in the class object, and then call the member functions and friends functions. In 2, all the member functions and friends executive should have corresponding execution information output, for example, the destructor is called When should output "CRectangle destr
 Downloaders recently: [More information of uploader 王祎]
 To Search:
File list (Check if you may need any files):
 

main.cpp
    

CodeBus www.codebus.net