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

Learn to Use Parameters in Functions in C++

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 this usage in the most common syntax to define a function as below, return_type function_name ( type1 parameter1, type2…
Read more
C++Introduction to C++Learn C++

Learn About the Main Function in C++

The Main Functionis the main part of an application coded in C++, it is the designated entry point to a program that is executed in an operating system (on Windows, iOS, Mac-OS, Android, Linux etc.). Every C++ application program has a main function which starts all application statements, and functions. We can create C++ files without the main function and we can use them as a library…
Read more
C++Learn C++Videos

Learn C++ With Back to Basics: Move Semantics by David Olsen (CPPCon 2020) Video

One of the many powerful improvements of C++11 is Move Semantics. It addresses a variety of programming problems that have been vexed by C++ developers for years. However, moving semantics can be easily misused, and the nuances are often difficult to get correct. This presentation will benefit both those who are still learning how to write a strong robust C++ code and those who already know all…
Read more
C++Game DevelopmentLanguage FeatureLearn C++

Learn to Use 3D Rotation Matrix in Low Level C++ Graphic Applications

Our screens are 2D dimensional planes and consists of pixels in X and Y directions. How we display a 3D object in this 2D plane ? 3D objects in our 2D screens are projection of 3D coordinates by using mathematical calculations. In 3D operations, i.e. in 3D graphics, 3D robotics, 3D mechanics; we use matrix forms which are multi dimensional arrays in C++. Generally they are 3 dimensional arrays…
Read more