Em Andamento

Zoo

Write a program (call it Zoo) that initializes an instance of the class you wrote for homework 8, containing pointers to animals. It should then display a menu to the user allowing for the following options:

1. Add an animal (type selected by user, ie. Horse or Dog).

2. Print information about an animal (selected by the user).

3. Print information about all the Horses in the zoo.

4. Print information about all the Dogs in the zoo.

5. Remove an animal from the Zoo.

6. Print information about all the animals in the zoo.

Look at Deliverables for other items that are needed.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

*********************************************

************************************************

1. Write a recursive function that receives two parameters. The first one is an instance of the class you wrote for homework 8, when it points to different instances of Animal. The second paramter is a string, which indicates a species of animal. It returns another instance of the class you wrote for homework 8, with pointers to animal, pointing only to the species that was specified by the second parameter. In other words, if you pass it a class containing pointers to both horses and dogs intermixed, it will return a class of pointers to dogs. It will not modify the class it receives as a parameter. You may need to make use of default parameters for this function.

2. Write a recursive function that receives as a parameter an instance of the class you wrote for homework 8, when pointing to Animals. It will systematically go through all the animals in the class, and print out the information they provide via the AnimalInfo class. Note that you may need to make use of default parameters for this function.

********************************************************************************************

Write a template class, MyPointers, that can hold a linked list of pointers to any data type. In other words, if I initialized the class as follows:

MyPointers mp;

The class would contain a linked list of pointers to integers.

The following functions should be defined as part of your class:

1. An insert function that takes in a reference to an instance of a class, and adds a pointer to it into the class.

2. A remove function that takes in a reference to an instance of a class, and removes the pointer from the list, if it exists.

3. A find function that finds the pointer to a given reference in an list, if it exists.

4. The overload of the [] operator.

5. The overload of the == operator.

6. Any other necessary functions.

Note that functions 2, 3 and 4 throw exceptions

## Platform

Windows

Habilidades: Programação C, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: write a recursive function, string find c, recursive programming, programming pointers, programming operator, pointers in c programming, pointers c programming, pointer programming, integers form 1, find the operator, find out which site template, c programming string functions, c programming pointers, c programming pointer, c programming operator, c programming linked list, c programming find function, a recursive function, find operator, zoo, recursive, print hold, mp, horses, program linked list

Acerca do Empregador:
( 4 comentários ) United States

ID do Projeto: #3019101

Premiar a:

bogdanstan

See private message.

$10 USD em 7 dias
(195 Avaliações)
5.7

18 freelancers estão ofertando em média $23 para este trabalho

mihaiscortaru

See private message.

$24.57 USD in 7 dias
(159 Comentários)
6.0
SalmanAwan

See private message.

$11.05 USD in 7 dias
(203 Comentários)
6.0
lmxvw

See private message.

$34 USD in 7 dias
(125 Comentários)
4.6
herculesevw

See private message.

$33.15 USD in 7 dias
(78 Comentários)
4.6
dcrs

See private message.

$15.3 USD in 7 dias
(11 Comentários)
4.6
assertvw

See private message.

$25.5 USD in 7 dias
(12 Comentários)
4.4
alexpyrkov

See private message.

$17 USD in 7 dias
(15 Comentários)
4.3
shashikhanvw

See private message.

$34 USD in 7 dias
(15 Comentários)
3.8
patrica

See private message.

$37.4 USD in 7 dias
(19 Comentários)
3.2
notusinganymore

See private message.

$29.75 USD in 7 dias
(26 Comentários)
3.2
hotsunvw

See private message.

$17 USD in 7 dias
(7 Comentários)
3.2
andreeamvw

See private message.

$25.5 USD in 7 dias
(7 Comentários)
3.0
rosoftteam

See private message.

$17 USD in 7 dias
(3 Comentários)
1.4
thanasisk

See private message.

$29.75 USD in 7 dias
(5 Comentários)
0.9
roard

See private message.

$25.5 USD in 7 dias
(1 Comentário)
0.0
instinkt

See private message.

$8.5 USD in 7 dias
(0 Comentários)
0.0
codesolutionvw

See private message.

$12.75 USD in 7 dias
(2 Comentários)
0.0