Hungarian Notation(표)
10, 15 Microsoft 헝 . MS 하 표 .
하 헝 표 키 . 험 한 하 .
히 한 키 . 한 표화 count cnt 하 편함 . -
------
------
10, 15 Microsoft 헝 . MS 하 표 .
하 헝 표 키 . 험 한 하 .
히 한 키 . 한 표화 count cnt 하 편함 . -
------
Prefix | Type | Description | Example |
b | bool | any boolean type | bool bTrue |
c | char | character type | char cLetter |
i | int | integer for index | int iCars |
n | int | number, quantity | int nNum |
l | long | long type | long lDistance |
u | unsigned | unsigned type(4byte) | unsigned uPercent |
w | WORD | unsigned word(2byte) | WORD wCnt |
dw | DWORD | unsigned double word(4byte) | DWORD dwLength |
d | double | double floating point | double dPercent |
f | float | floating point | float fPercent |
s | static | a static variable | static short ssChoice |
rg | array | stands for range | float rgfTemp16 |
p | * | any pointer | int *piAddr |
sz | * | null terminated string of characters | char szText16 |
pfn | * | function pointer | int (*pifnFunc1)(int x, int y) |
t | struct | a user defined type | ... |
e | enum | variable which takes enumerated values | ... |
E | enum | Enumerated type | ... |
g_ | Global | Global Variable | String *g_psBuffer |
m_ | Member | class private member variable | int m_iMember |
k | constant formal parameter | ... | void vFunc(const long klGalaxies) |
r | reference formal parameter | ... | void vFunc(long &rlGalaxies) |
str | String | string class(C++) | String strName |
prg | ... | dynamically allocated array | char *prgGrades |
h | handle | handle to something | hMenu |
x/y | ... | used as size | int xWitdth, yHeight |