abstract classes
$10-30 USD
Kiszállításkor fizetve
Create an abstract
class "shape" with one pure virtual function print, that outputs
the name of the shape. Derive class circle and rectangle from the shape. In the
main function create an array that can hold any type of the derived classes. Put
one circle and one rectangle into this array. Print the names of the objects.
Delete objects (that means that you have to have a destructor . You do not have
to put any code in the destructor, just cout name of
the class, that it belongs to.
Projektazonosító: #12090406
A projektről
Odaítélve:
10 szabadúszó tett átlagosan 32$ összegű árajánlatot erre a munkára
HI Contact me for an efficient, perfect, well documented development of your project according to 100% accuracy and requirements, with dedicated support. Thanks Farah Saif
Hi there! I am suitable to do this project. Please contact me for details. Waiting for your response. Regards, Valentin
I have read and fully understood your requirements.. Please open chat to discuss further… ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++