Study

Hungarian Notation

슈라。 2010. 1. 5. 13:38

Hungarian Notation

Data Type

Prefix

Example

Boolean

b

bContinue

Int

n

nIndex

Short

n

nIndex

Character

c

cFirstInitial

Float

f

fPercent

Double

d

dMetres

Long

l

lCarCount

String

s

sCustomerName

Null terminated String

sz

szCustomerName

Unsigned Integer (Word)

w

wCount

Unsigned long integer (DWORD)

dw

dwAtomCount

Pointer

p

pNext

Handle

h

hWnd

Function

fn

fnReport

Class

C

CParser

Class member variable

m_

m_

Array

a

aYears

Global

g_

g_szDirectory

Windows message

msg

msgCut

 

'Study' 카테고리의 다른 글

delete와 delete[]를 구분해서 사용해야 하는 이유  (0) 2010.01.15
C 언어로 작성된 코드를 C++에서 사용할 경우  (0) 2010.01.15
tinyOS 2.x 설치  (0) 2009.05.11
yum 사용 방법  (0) 2009.05.11
RPM 사용 방법  (0) 2009.05.11