Notes vs Shortcuts Essay

Quickly switch windows (at this time, you can open the IDE's navigation to get a bird's-eye view) Ctrl+Tab
revoke CTRL+Z
delete the entire line of code CTRL+L
anti-revocation CTRL+Y
note CTRL+K+C
uncomment CTRL+K+U
function declaration Tell the compiler what a function is called, what its parameters are, and what its return type is. But whether it exists or not, the function declaration does not determine the function declaration generally appears before the use of the function. It must be declared before use. Function declarations are generally placed in header files.
function definition The definition of a function refers to the specific realization of the function, explaining the function realization of the function. If the definition of the function is placed before the body of the main function, it is not necessary to declare the function.
function body alignment CTRL+F+C
Cut the entire line of code: the cursor stops at this line CTRL+X
Copy the entire line of code: the cursor stops on this line CTRL+C, then paste CTRL+V

Guess you like

Origin blog.csdn.net/qq_44918090/article/details/132184123