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 |
구