Learn Object-Oriented Programming in C++

Learn Object-Oriented Programming in C++

Learn Object-Oriented Programming in C++
Learn Object-Oriented Programming in C++

Learn Object-Oriented Programming in C++

C++ Object Oriented. Object. This is the basic unit of object oriented programming. Class. When you define a class, you define a blueprint for an object. Abstraction. Encapsulation. Inheritance.

Object-oriented programming (OOP) has been around for decades. If you have a basic understanding of C++ and are interested in leveling up your skills, this class will help you do just that.

Starting with an overview of the basics, you’ll dive into understanding the time-honored technique for implementing complex applications using user-defined classes. Followed up by discussing classes and objects, and then building up to the high-level topics including inheritance and polymorphism.

Throughout the course, you’ll be fully immersed in OOP for C++, with illustrations, exercises, quizzes, and hands-on challenges every step of the way. You’ll walk away with an understanding of classes and objects behavior and be able to easily create simple, efficient, reusable and secure code.


1. Introduction

  • What is OOP?
  • C++ as Object Oriented Language
  • C++ vs Java vs C#
  • Quiz
2. Functions
  • What is a Function?
  • Creating a Function
  • Arguments and Function Scope
  • Overloading Functions
  • Quiz
  • Challenge 1: Sum of All Odd Integers in an Array
  • Challenge 2: Find the Second Minimum in an Array
  • Challenge 3: Square Numbers and Return their Sum
3. Pointers
  • Variable Addresses in the Stack
  • What are Pointers?
  • Pointers and Dynamic Memory
  • Passing Pointers as Arguments
  • Pointer Arithmetic
  • Quiz
  • Challenge 1: Halving a Number
  • Challenge 2: Swap Values
4. Classes
  • What is a Class?
  • Class Definition
  • Access Modifiers
  • Class Data Members
  • Class Member Functions
  • Constructors
  • Destructors
  • Friend Functions
  • Quiz
  • Challenge 1: Calculating Perimeter of a Rectangle
  • Challenge 2: Calculate Student's Total Marks
  • Challenge 3: Implement a Calculator Class
5. Data Hiding
  • What is Data Hiding?
  • Encapsulation
  • Abstraction in Classes
  • Abstraction in Header Files
  • Quiz
  • Challenge 1: Rearranging a Class
6. Inheritance
  • What is Inheritance?
  • Base Class and Derived Class
  • Base Class Constructor and Destructor
  • Modes of Inheritance
  • Types of Inheritance
  • Advantages of Inheritance
  • Quiz
  • Challenge 1: Implement the Derived Class
  • Challenge 2: Implement an Animal Class
  • Challenge 3: Implement a Father Class
7. Polymorphism
  • What is Polymorphism?
  • Overriding
  • Virtual Member Functions
  • Pure Virtual Member Functions
  • Quiz
  • Challenge 1: Implement an Account Class Using Virtual Functions
  • Challenge 2: Implement an Account Class Using Pure Virtual Functions
8. Composition, Aggregation and Association
  • A Brief Introduction
  • Composition
  • Aggregation
  • Association
  • Quiz
  • Conclusion

Share This :
Santosh Kumar

We are sharing the knowledge for free of charge and help especially third world countries who can create a simple blog and start making money from own blog. so we have launched this site. Facebook | Twitter | Pinterest | LinkedIn