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

Learn About Function Declaration and Definition in C++

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…
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