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.0177 sec