abstract classes

Completado Publicado hace 7 años Pagado a la entrega
Completado Pagado a la entrega

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.

Programación en C++

Nº del proyecto: #12090406

Sobre el proyecto

10 propuestas Proyecto remoto Activo hace 7 años

Adjudicado a:

$17 USD en 1 día
(1202 comentarios)
7.7

10 freelancers están ofertando un promedio de $32 por este trabajo

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 en 1 día
(527 comentarios)
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 en 1 día
(10 comentarios)
3.3
vw1702486vw

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

$88 USD en 2 días
(3 comentarios)
2.8