When ever i look at a code for C++ there is a n in front of a variable what does it mean please help!!!!!!!!!!!!!!!!!!!
EX: int main (int nNumberofArgs. char* pszArgs[ ])
What does the n mean in front of the number word?
C++ what does it mean when there is a "n" in front of a name?
The author of this code used Hungarian Notation. In Hungarian Notation, variables are prefixed with a short sequence of letters that represents the type of the variable. 'n' usually represents a variable of the integer type or is a count of things. Here, nNumberofArgs is clearly an integer variable that counts the number of arguments.
Reply:Hungarian style notation
http://en.wikipedia.org/wiki/Hungarian_n...
n -%26gt; is used for number
Reply:n for numeric variable
psz for pointer to string terminating to zero
d for double
f for float
l for long like that
spring flowers
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment