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…
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…
The most detailed rationale for programs is performed locally: considering the proximity of a program – usually a single function and the interfaces around it – and the reason for its action without reference to the rest of the program. This justification serves…
Learn about Data Structures in C & C++
April 30, 2021
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)…
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…
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 to Use Function Templates in C++
April 27, 2021
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…
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”…
An important feature in C++11, from the library’s perspective, are smart pointers. Smart pointers are more than smart designed pointers. Smart pointer models are semantic. Understanding the semantic ownership of smart pointers is the key focus of this video and your…
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 variables represented by the function parameters. Let’s remember an example,
#include <iostream>
int add (int…