variables name
-
Sometimes i see variable name start with underscore like : __kill or __add_something !! what ___ in the begining of the variable name does mean?
Faris Madi Nothing Comes Easy (N.C.E.)
-
Sometimes i see variable name start with underscore like : __kill or __add_something !! what ___ in the begining of the variable name does mean?
Faris Madi Nothing Comes Easy (N.C.E.)
no particuliar meaning. in Visual C++ thought, it is to identify what is microsoft specific from what is standard...
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
Sometimes i see variable name start with underscore like : __kill or __add_something !! what ___ in the begining of the variable name does mean?
Faris Madi Nothing Comes Easy (N.C.E.)
There's no special meaning to the underscore, it's a legal character in variable names like like "x" or "1". In C++, any name containing "__" is reserved for use by the compiler vendor. This is why all the MC++ keywords were prefixed with it, e.g.
__gc
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
-
no particuliar meaning. in Visual C++ thought, it is to identify what is microsoft specific from what is standard...
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
no particuliar meaning. in Visual C++ thought, it is to identify what is microsoft specific from what is standard...
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
Long Discussion...but few hours ago i got information that the underscore refers to local private variable in Java Programming. ....it has Sense :^)
Faris Madi Nothing Comes Easy (N.C.E.)
-
Long Discussion...but few hours ago i got information that the underscore refers to local private variable in Java Programming. ....it has Sense :^)
Faris Madi Nothing Comes Easy (N.C.E.)
not really. firstly, ,you must take care to the language used. some languages may forbid such a character in identifiers names. but in any cases, in both Java/C/C++, underscore has a meaning only for the developper, not for the compiler...
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
-
not really. firstly, ,you must take care to the language used. some languages may forbid such a character in identifiers names. but in any cases, in both Java/C/C++, underscore has a meaning only for the developper, not for the compiler...
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
I agree, and my question from the begining is what the underscore means to the developer. and i got the idea.....thanx guys:)
Faris Madi Nothing Comes Easy (N.C.E.)