Let us create a blank text file using the text editor or C++ IDE of our choice and name it
source.cpp. First, let us create an empty C++ program that does nothing. The content of the
source.cpp file is:
The function main is the main program entry point, the start of our program. When we run our executable, the code inside the main function body gets executed. A function is of type int (and returns a result to the system, but let us not worry about that just yet). The reserved name main is a function name. It is followed by a list of parameters inside the parentheses ...