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

Learn C++ Inheritance :: Base Classes and Derived Classes

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. These topics are the main stones of C++ programming. 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 to Use Function Templates in C++

A Template is a simple and a very powerful statement in C++. A Template Function may have multiple template parameter types, and the function can still use regular non-templated types. In a previous post, about Function Overloading, we had two add() functions working with integer and float numbers, in that example we can say add() function is overloaded with int and float parameter types, and…
Read more