6
Microsoft Visual C++/CLI Step by Step
Outside of these restrictions, any identifier will work. However, some choices are not recommend-
ed, such as the following:
Identifier
Reason it’s not recommended
main
Could be confused with the function main.
INT
Too close to the reserved word int.
B4ugotxtme
Just too cryptic!
_identifier1
Underscores at the beginning of names are allowed, but they are not recommended because
compilers often use leading underscores when creating internal variable names, and they are
also used for variables in system code. To avoid potential naming conflicts, you should not use
leading underscores.
Do'stlaringiz bilan baham: