please do not copy the other posts they didn't do it correctly. please include Animal.cpp, Dog.cpp, Cat.cpp, Animal.h, D

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

please do not copy the other posts they didn't do it correctly. please include Animal.cpp, Dog.cpp, Cat.cpp, Animal.h, D

Post by answerhappygod »

please do not copy the other posts they didn't do it correctly. please include Animal.cpp, Dog.cpp, Cat.cpp, Animal.h, Dog.h, Cat.h, and Animal Tester.cpp. also make sure its a working program with a screenshot of the output. thank you.
Please Do Not Copy The Other Posts They Didn T Do It Correctly Please Include Animal Cpp Dog Cpp Cat Cpp Animal H D 1
Please Do Not Copy The Other Posts They Didn T Do It Correctly Please Include Animal Cpp Dog Cpp Cat Cpp Animal H D 1 (97.73 KiB) Viewed 26 times
Please Do Not Copy The Other Posts They Didn T Do It Correctly Please Include Animal Cpp Dog Cpp Cat Cpp Animal H D 2
Please Do Not Copy The Other Posts They Didn T Do It Correctly Please Include Animal Cpp Dog Cpp Cat Cpp Animal H D 2 (271.08 KiB) Viewed 26 times
Create the following classes for Animal. Cat. and Dog as defined below using inheritance and abstract functions. Make ase of good C - style by using both h and .cpp files for each class. Animal is an abstract class that will be extended by concrete classes Cat and Dog. All inheritance is to be public. Animal Class The Animal sunerelate chomld nrovida tha follomina momhare- Cat Class This concrete subclass of the Animal class should provide the following members (in addition, or as implementation of the inherited abstract methods).
This concrete subclass of the Ammal class should provide the following members (in addition or as implementation of the inherited abstract methods) The Client (Driver) Main.cpp Provide a driver main function in a file named AnimalTester.cpp that will test each of the aforementioned subclasses and their methods. You should do the following in your main method in orcler to test them - Create a polymorphic ieference to each of the two Animal subclasses O Hint Needs to use the Animail class and pointer (see example in polymorphism lecture slides) - Iest the implementations of all the inherited method through the polymorphiereference difeefly and show that theie workeorrectly - Test the non-inherited methods directly through their respective class object. o Hint This is for two fuffertions doKittyThings.and doDoggithings Louis Cat Meeeoow! Feed me! Purr, Purr, Purr. I'm tearing up your couch with my claws, and leaving dead mice on your pillow! Molly Dog Woof! Woof! Squirrel! I'm digging a hole and burying my bone so the squirrels can't get it! Press any key to continue...
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply