abstract classes

Completed Posted 7 years ago Paid on delivery
Completed Paid on delivery

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.

C++ Programming

Project ID: #12090406

About the project

10 proposals Remote project Active 7 years ago

Awarded to:

$17 USD in 1 day
(1202 Reviews)
7.7

10 freelancers are bidding on average $32 for this job

urmate

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

$25 USD in 1 day
(527 Reviews)
7.4
vtatarenko

Hi there! I am suitable to do this project. Please contact me for details. Waiting for your response. Regards, Valentin

$25 USD in 1 day
(10 Reviews)
3.3
vw1702486vw

I have read and fully understood your requirements.. Please open chat to discuss further… ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

$88 USD in 2 days
(3 Reviews)
2.8