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…
Learn C++ With The Shapes of Multi-Dimensional Arrays by Vincent Reverdy (CPPCon 2020) Video
May 2, 2021
This video will be concentrating on one of the many issues involved: How to manage the shapes and dimensions of high-performance multidimensional arrays. In order to prevent metaprogramming wizards from having a full unusable response, we will add one requirement: it must be…
Learn about Object Oriented Programming, Introduction to OOP
April 29, 2021
When learning about C++ programming a lot of programmers have many questions. Let’s answer them 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 Classes. In this post we will explain Object Oriented Programming, In another term this is an Introduction to OOP.
Object…
Learn to Use Constant References in C++ Functions
April 28, 2021
When we call a function with parameters taken by value, it copies the values to be made. This is a relatively inexpensive operation for fundamental types such as int, float, etc. If the parameter is composed of a large compound type, this may result in a certain overhead.
Learn C++ With Making Games Start Fast: A Story About Concurrency by Mathieu Ruport (CPPCon 2020) Video
April 26, 2021
Games taking too long to get started is a common criticism in game development. Players dislike it and developers spend a long time watching screen loading. The audience will be shown how Intel vTune can be used to profile threading problems, how “thread safe”…
Learn About Parameters Passed by Reference in Functions
April 24, 2021
In the functions that we created in previous posts, their parameters have always been passedby value. This means that, when we call a function, what is passed to the function are the values of these parameters on that moment of the call. Variables are copied into the…
Learn to Use Parameters in Functions in C++
April 23, 2021
In the C++ programming language, we can add functions with many parameters, each parameter may have different types. We can add as many parameters as we want by defining its type and its name to be used inside that function separated with ‘,’ coma. We can shape…
Learn About Function Declaration and Definition in C++
April 22, 2021
In C and C++ programming language there are two parts of a function, Declaration, and Definition.
Function Declarationis the combination of the return type of function, function’s name, and parameters in parenthesis.Function Definitionis the body of the function includes statements and other functions.
In general use, they are defined together as below,
myfunction() // this…