Description: Define a base class MyGraph, requires a pure virtual function double Area () = 0. Derive a circle and a rectangle class Rectangle Circle class from the base class, and then by Square Rectangle class derived class, are given Area () implementation. Reload " > > " to achieve the input of graphical information. Calculate the shape of the three main functions in the area, and display output.
To Search:
File list (Check if you may need any files):
area\area.cpp
....\area.dsp
....\area.dsw
....\area.ncb
....\area.opt
....\area.plg
area