Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Internet-Network
Title: du Download
 Description: The member function SetData is used to set the property values of the geometry. The member function Area () is used to calculate the area of a geometric figure. Four geometric shapes derived from shape are triangle, rectangle, square and circle. Other graphics derived class, please write your own. The class name and properties of the derived class are as follows: 1) class triangle attribute: triangle side length W and the edge of the high 2) class name rectangle property: rectangle long w and wide H 3) class name square property: square side length s 4) the class name circle property: the radius of the circle R Requires the use of virtual functions to achieve polymorphism, the preparation of a geometric surface area of the common function CaclArea (shape *), its parameters for the abstract class shape pointer Define four geometry objects in the main function and call CaclArea () to find the sum of the area of the four geometry objects.
 Downloaders recently: [More information of uploader 杜诗雨 ]
 To Search:
File list (Check if you may need any files):
du
du\Debug
du\Debug\du.exe
du\Debug\du.ilk
du\Debug\du.pch
du\Debug\du.pdb
du\Debug\vc.obj
du\Debug\vc60.idb
du\Debug\vc60.pdb
du\du.dsp
du\du.dsw
du\du.plg
du\vc.cpp

CodeBus www.codebus.net