Em Andamento

abstract classes

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.

Habilidades: Programação C++

Ver mais: virtual destructor c, virtual destructor, pure virtual destructor, programming classes, c programming classes, cplusplus array, classes programming, abstract programming, print hold, derive, define derived classes abstract class, define derived classes abstract class shapebase, classes, virtual print, class function create, names allah arabic vector type, custom field type derived spfieldurlvalue, virtual class , class array classes, classes array, print classes, array classes, rectangle shape, create zebra print invitations, create banner print ready file

Acerca do Empregador:
( 6 comentários ) fullerton, United States

ID do Projeto: #5129676

Premiar a:

vano101

Hello. This easy assignment can be done in hour or two, if I do it. I am expert in C++ but I am able to write code in the "beginner style"

$13 USD em 1 dia
(131 Avaliações)
5.7

2 freelancers estão ofertando em média $19 para este trabalho

urmate

Contact me for an efficient, perfect, well documented development of your project according to 100% accuracy and requirements, with dedicated support. Thanks

$25 USD in 0 dias
(13 Comentários)
3.4