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

CodeSignal

Diving Into C++ Classes

via CodeSignal

Overview

Unlock the fundamentals of C++ classes and object-oriented concepts focusing on robust software architectures through encapsulation, data abstraction and creation of classes.

Syllabus

  • Lesson 1: Understanding Classes - Definition, Creation, and Usage
    • Creating and Using a Car Class in C++
    • Modify Car Attributes and Print
    • Add a New Attribute
    • Fix the Car Class Attributes Display
    • Creating and Using a Book Class in C++
    • Creating and Using Car Objects in C++
  • Lesson 2: Defining and Utilizing Methods
    • Modify the Launch Method in Spaceship Class
    • Create a Person Class with an Introduce Method
    • Extend Calculator with Multiplication and Division Methods
    • SpaceShip Methods Implementation
    • Define and Use Spaceship Class with Method
    • Defining and Using Car Methods
  • Lesson 3: Constructors in C++ Classes
    • Change Parameterized Constructor to Default Constructor
    • Add a Default Constructor to BankAccount Class
    • Add a Parameterized Constructor to the Person Class
    • Implement the Copy Constructor for BankAccount Class
  • Lesson 4: Encapsulation in C++
    • Calculate the Volume of a Box with Encapsulation
    • Make Radius Private
    • Encapsulated Circle Area Calculation
    • Encapsulate Rectangle Attributes and Methods
  • Lesson 5: Classes Composition in C++
    • Class Composition with Car, Engine, and Wheel
    • Enhance Car Class with Transmission Attribute
    • Smartphone Specifications with Class Composition
    • Understanding Class Composition with Car and Engine
    • Defining the Point Class
    • Implementing the Line

Reviews

Start your review of Diving Into C++ Classes

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.