C++C++11C++14C++17Introduction to C++Learn C++

Learn C++ Inheritance :: Multilevel Inheritance

Inheritance allows us to define a class in terms of another class, and it makes easier to create and maintain an application. This also provides an opportunity to reuse the code functionality and fast implementation time. If a class is derived from another derived class then it is calledmultilevel inheritance. In other terms, multilevel inheritance method is using a class which has more than…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

Learn about Polymorphism :: Pointers to Base Classes in C++

Generally we try to prepare our posts for a first time C++ readers or we assume reader read some posts about that topic before. At least we try to simplify and clarify the post as much as possible. This post requires a good knowledge about Functions, Classes, Objects and Pointers. These topics are the main stones of C++. So If you feel hard to understand all below, or if you are not really sure of…
Read more
C++Introduction to C++Learn C++

Learn Classes and Objects in C++

At the beginning of C++ programming mostly programmers ask what does Object Oriented means? What is Object Oriented Programming ? or What is the difference between Classes and Objects?. Let’s answer all these in this topic. One of the biggest difference between C and C++ programming languages is, C++ is anObject Oriented Programming (OOP)language that supports using…
Read more