Premiado

C++: Hierarchies Purpose: Use Inheritance

Hierarchies

Purpose: Use Inheritance

Modify lab #2 as follows:

* Create a new class called 'Person'. This class contains only the 'person' data from the previous ‘Passenger’ (i.e. the first and last names).

* Derive the Passenger class from the person class, and remove any person data from the passenger class.

class Passenger : public Person

{

}

* Add any support functions as necessary to the Person and Passenger classes. This includes copy constructors, operator = and operator

Habilidades: Programação C, Programação C++

Ver mais: programming inheritance, lab support, inheritance programming, first lab, programming operator, derive, programming lab, zencart add cart remove, inheritance, use add text images

Acerca do Empregador:
( 14 comentários ) New york, United States

ID do Projeto: #5094917

1 freelancer está ofertando em média $15 para este trabalho

anatol1988

Предложение еще не подано

$15 USD em 1 dia
(2 Comentários)
2.2