#include the difference between "A.h" and #include<a.h>: The first is that the compiler will start looking for this file from the current working directory, which means the compiler starts looking for this file from the standard library directory
The role of the header file:
enhance security detection; You can easily invoke library functionality through header files without having to care about how they are implemented
Position of *,& modifier:
To avoid misunderstanding, it is best to place it immediately next to the variable name
C + + is worth the delivery way:
There are three ways: value passing, pointer passing, reference passing
void Fun (char c);
void Fun (CHAR*STR);
void Fun (CHAR&STR);
If the input parameter is passed as a value, it is preferable to use a reference pass instead because the reference pass eliminates the construction and destructor of the temporary object
The function type cannot be omitted, even if it is not added void
Attached links, free to continue to click on the Open link