Question: Create a project in C++ at least 6 different classes, and at least three levels of inheritance. For example: Animals->ColdBlooded->Reptiles->Lizards would be an 3 classes,
- Create a project in C++ at least 6 different classes, and at least three levels of inheritance.
- For example: Animals->ColdBlooded->Reptiles->Lizards would be an 3 classes, and 4 levels of inheritance)
- You must use multiple .cpp and .hpp files.
- 1 class should be created per .hpp, and it should have a separate .cpp file implementation of that class.
- You should use header guards in each .hpp file
- You should have a main.cpp which includes your classes and instantiates them.
- Your main class should not create any custom data types.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
