E D R , A S I H C RSS

헝가리안표기법

Hungarian Notation(표)
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
------

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:31:32
Processing time 0.0188 sec