Discount week
Get up to 50 % extra points for free! More info

Object-Oriented Programming in C++

Learn the object-oriented programming in C++ in this online course from the first object-oriented app to advanced constructs.

Introduction to object-oriented programming in C++

Lesson 1

Introduction to object-oriented programming in C++

This C++ tutorial introduces object-oriented programming, explains it's historical origins as well as terms such as classes, attributes, and methods.
Written by David Capka
FreeUnrated Show description
First OOP application in C++ - Hello object world

Lesson 2

First OOP application in C++ - Hello object world

In this tutorial we'll create our first object-oriented app in C++ - Hello object world. We'll create classes, fields and parametrized methods.
Written by David Capka
FreeUnrated Show description
A RollingDie in C++ and Constructors

Lesson 3

A RollingDie in C++ and Constructors

This tutorial will teach you how to use C++ constructors. We'll program an object-oriented rolling die.
Written by David Capka
FreeUnrated Show description
Introducing destructors and more about constructors in C++

Lesson 4

Introducing destructors and more about constructors in C++

We'll look at the implementation of the destructors and say what the constructors are for. We'll continue with the object-oriented programming in C++.
Written by David Capka
FreeUnrated Show description
The this pointer in C++

Lesson 5

The this pointer in C++

In this tutorial, we'll discuss another C++ keyword - this. We'll say what it means and what it is for.
Written by David Capka
FreeUnrated Show description
Arena Warrior - Encapsulation

Lesson 6

Arena Warrior - Encapsulation

In this C++ tutorial, we'll write a warrior (class) object whose instances will fight in a virtual arena. We'll restrict visibility with private.
Written by David Capka
FreeUnrated Show description
Arena with warriors in C++

Lesson 7

Arena with warriors in C++

In today's object-oriented C++ tutorial, we'll put everything together to create a fully-featured application.
Written by David Capka
FreeUnrated Show description
Constant methods in C++

Lesson 8

Constant methods in C++

We'll look at constant methods in C++, methods that cannot change instance data.
Written by David Capka
FreeUnrated Show description
Static Class Members in C++

Lesson 9

Static Class Members in C++

In this tutorial, we'll learn to use static class fields and methods in C++.
Written by David Capka
FreeUnrated Show description
Overloading operators in C++

Lesson 10

Overloading operators in C++

In this tutorial, we'll look at overloading operators in C++ for our custom objects.
Written by David Capka
PROUnrated Show description
Copy Constructors in C++

Lesson 11

Copy Constructors in C++

In this C++ tutorial, we'll talk about copy constructors, what are they for and how to implement them properly.
Written by David Capka
PROUnrated Show description
Assignment operator

Lesson 12

Assignment operator

In this C++ tutorial, we'll look at the assignment operator. We'll learn when it's called, what it's used for and how to implement it.
Written by David Capka
PROUnrated Show description
Inheritance in C++

Lesson 13

Inheritance in C++

In this tutorial, we'll explain the fundamentals of object inheritance in C++. We'll learn to reuse code and use inheritance correctly.
Written by David Capka
PROUnrated Show description
A mage for the C++ arena

Lesson 14

A mage for the C++ arena

In our object-oriented C++ application, we'll use inheritance and program a mage to add him to our arena.
Written by Patrik Valkovic
PROUnrated Show description
Polymorphism in C++

Lesson 15

Polymorphism in C++

In this C++ tutorial, we'll look at one of the most difficult topics of object-oriented programming, polymorphism, and virtual methods.
Written by Patrik Valkovic
PROUnrated Show description
Abstract classes and interfaces in C++

Lesson 16

Abstract classes and interfaces in C++

Let's see what an abstract class is, why it makes an interface, and how we can use it in C++.
Written by Patrik Valkovic
PROUnrated Show description
Template Classes in C++

Lesson 17

Template Classes in C++

We'll show you how to declare template classes in C++ and how we can use them.
Written by Patrik Valkovic
PROUnrated Show description
Introducing Vector in C++

Lesson 18

Introducing Vector in C++

In this tutorial, we'll talk about one of the most basic containers in C++ - Vector.
Written by David Capka
PROUnrated Show description
Date and Time in C++

Lesson 19

Date and Time in C++

We'll show the resources that C++ has for working with date and time.
Written by Patrik Valkovic
PROUnrated Show description
Diary with a database in C++

Lesson 20

Diary with a database in C++

In this tutorial, we'll create an electronic diary with a database using the vector container. It'll be able to add, remove, and search entries.
Written by Patrik Valkovic
PROUnrated Show description
Exceptions in C++

Lesson 21

Exceptions in C++

This tutorial is all about exceptions in C++, try-catch blocks, and other exception-related techniques.
Written by Patrik Valkovic
PROUnrated Show description
Advanced Inheritance in C++

Lesson 22

Advanced Inheritance in C++

In this tutorial, we'll discuss advanced techniques of inheritance such as multiple inheritance and what problems it brings.
Written by Patrik Valkovic
PROUnrated Show description
Namespaces in C++

Lesson 23

Namespaces in C++

In today's tutorial, we'll explain how namespaces can make our C++ projects more readable.
Written by Patrik Valkovic
PROUnrated Show description
Friends and Nested Classes in C++

Friends and Nested Classes in C++

We'll show the concept of friends in C++ and then how to create nested classes.
Written by David Capka
PROUnrated Show description
Converting C++ Types

Lesson 24

Converting C++ Types

In today's C++ tutorial, we'll look at implicit and explicit conversion between different types.
Written by Patrik Valkovic
PROUnrated Show description


 

Activities (5)