1. The function body is the computer instruction of what the function should do.
2. In the C language, each complete instruction becomes a statement.
3. The statement ends with a semicolon, and you should not omit the semicolon when you enter the code.
4. The Terminator is a semicolon, which is the end tag of the statement and is part of the statement, not the markup between the statements.
5.return 0; This tough guy's return statement applies only to the main () function, not to other functions.
So why is the program interrupt function called Main () because the C + + program must contain a function named Imain ()
Since the MYFIRST.CPP program has only one function, the function must bear the responsibility of main () C + + runtime,
This is usually done starting with the main () function. Therefore, if there is no main (), the program will be incomplete.
The traditional 6.C language is that the header file uses the extension h as an easy way to identify the file type by name.
For example, header file MATH.H supports various C-language mathematical functions, but the usage of C + + has changed. Now the old C header file is converted to C + +
Header files, these files are renamed, the extension h is removed, in order to change to C + + style name, and prefix C in front of the file name
Indicates a language from C.
Preparation knowledge of C + +