Mastering OOP in C++
Learn how to build complex systems using Object-oriented programming princinples. Master Inheritance and Polymorphism. Learn to organize your code structure to build maintainable programs.
Lessons and practices
Fixing Dynamic Memory Management
Allocating and Deallocating a Double in the Heap
Allocating a Dynamic Array for Scores
Use the Arrow Operator to Access Class Methods
Creating and Displaying a Character Object in the Heap
Add Message to Destructor for Memory Deallocation Confirmation
Managing Dynamic Memory with Destructors in C++
Implement Car Destructor to Manage Dynamic Memory
Order of Destructor Execution
Inheritance with Books and Novels
Extend the Phone Class with a New Method
Understanding Inheritance with Vehicles
Employee Management System with Inheritance
Understanding Inheritance and Encapsulation in Bank Accounts
Implement Cat, WildCat, Tiger, and Lion Classes with Inheritance
Implementing Destructors in an Inheritance Hierarchy
Accessing Protected Members in Derived Class
Changing Inheritance Specifier from Public to Private
Changing Public Inheritance to Protected Inheritance
Understanding Access Specifiers with Vehicle and Car Classes
Mark the Base Class Method as Virtual
Extend Chess Program with Bishop Class
Polymorphism with Shapes
Add a to_string Method for Shape Descriptions
Creating Polymorphic RPG Characters
Modify the Knight Class to Include Position Information
Interested in this course? Learn and practice with Cosmo!
Practice is how you turn knowledge into actual skills.