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++C++11C++14C++17Introduction to C++Learn C++

Learn about Data Structures in C & C++

In general, when we do programming we have a lot of variables and some of these variables are properties of an object, for example if we want to make a database about students in C++, each student has similar properties to store. We can generalize all these properties in a single group. In this post we will explain structs in detail.In C & C++ programming; aData Structure(struct)…
Read more