Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Mastering OOP in C++

via CodeSignal

Overview

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.

Syllabus

  • Lesson 1: Working with Dynamic Memory: Creating Objects in Heap
    • 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
  • Lesson 2: Destructors in C++
    • 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
  • Lesson 3: Understanding Inheritance in C++
    • 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
  • Lesson 4: Access Specifiers in Inheritance
    • 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
  • Lesson 5: Polymorphism Basics in C++
    • 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

Reviews

Start your review of Mastering OOP in C++

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.