The Constructorin C++ is a function, a method in the class, but it is a ‘special method’ that is automatically called when an object of a class is created. We don’t need to call this function. Whenever a new object of a class is created, the Constructor allows the class to initialize member variables or allocate storage. This is why the name Constructor is given to this…
AI Techs :: Class Based Artificial Neuron Model in C++
June 11, 2021
Do you want to develop your of artificial intelligence application from the scratch ? Want to learn how you can develop a simple artificial neuron model in C++ with Classes ? In this post we will explain with a very simple artificial neuron example using with Classes. We…
Learn Constructors in C++ Classes
June 1, 2021
Object-Oriented Programmingis a way to integrate with objects which can containdatain the form (attributesorpropertiesof objects), andcode blocksin the form of procedures (methods,functionsof objects). These…
Learn C++ Inheritance :: Hierarchical Inheritance
May 26, 2021
Let’s remember that, Object Oriented Programming(OOP) is a way to integrate with objects which can containdatain the form (attributesorpropertiesof objects), andcode blocksin the form of procedures (methods,functionsof objects). These attributes and methods arevariablesandfunctionsthat belong to the class…
Learn C++ Inheritance :: Multiple Inheritance
May 25, 2021
Let’s remember that, Object Oriented Programming(OOP) is a way to integrate with objects which can containdatain the form (attributesorpropertiesof objects), andcode blocksin the form of procedures…
Learn C++ Inheritance :: Multilevel Inheritance
May 24, 2021
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…
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…
Discover Class Methods in C++
May 7, 2021
Object-Oriented Programmingis a way to integrate with objects that might containdata(in the form of attributesorpropertiesof objects), andcode blocksin the form of procedures (methods,functionsof objects). These…
Learn Classes and Objects in C++
May 4, 2021
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…
Object-Oriented Programmingis a way to integrate with objects which can containdatain the form (attributesorpropertiesof objects), andcode blocksin the form of procedures (methods,functionsof objects). These attributes and methods arevariablesandfunctionsthat belong to the class, they are generally referred to…