Question: Please do this in c++ using VECTORS. Thank you! Dynamic Arrays of Objects Create a class for the city pound to keep a daily log

Please do this in c++ using VECTORS. Thank you!
 Please do this in c++ using VECTORS. Thank you! Dynamic Arrays

Dynamic Arrays of Objects Create a class for the city pound to keep a daily log of the stray animals that they have caught. The class will have the following data members: type of animal (character string), color (character string), gender (char), weight (int), and approximate age (int). Include get functions for each data member, set function(s), and a default constructor. In main, prompt for how many animals were caught that day and instantiate the array of animals using dynamic memory. Once the data for each animal has been input, print the list in ascending order by animal type. Print all data members. Don't forget to delete the memory when you are done with the array

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!