'Programming/C++'에 해당되는 글 2건

  1. 2007/12/05 WndTabs v3.20
  2. 2005/06/19 헝가리안 표기법

WndTabs v3.20

2007/12/05 16:09
Tabs and file management for the Visual C++ 6 editor.

Download for VC++ 6
Download UI Languages
(Chinese, French, German, Italian, Korean, Polish, Russian, Spanish)
Download Source

C110DEF4-023BH-74CBBD7A
Posted by ky
헝가리안 표기법(Hungarian Notation)은 Microsoft의 프로그래머로 있었던 찰스 시모니에게서 유래되었다. 그가 헝가리안이었기 때문에 그가 만든 변수 접두어 표기법이 헝가리안 표기법이라고 불리우고 있으며 목적은 변수의 의미를 명확히 하는데 있다. 대표적인 예들은 다음과 같다.

b       BOOL
c       char
by     byte (unsigned char)
n       short
i        int
l        LONG
f        FLOAT
d       double
s       string
sz     Null로 종료되는 문자열(string) = ( LPSTR : char* )
str     CString 형, char 배열
u       UNIT (unsigned int)형 변수
w      WORD (unsigned short)형 변수 (= USHORT )
dw    DWORD (unsigned long)형 변수
a       Array 배열
h       handle
p       pointer
lp      long 포인터 변수
x, y    x축이나 y축으로 사용되는 정수
cx, cy  x,y 길이를 나타내기 위해 사용되는 변수
없음   지역변수
g_     (글로벌) 전역변수
m_    (MFC ...) 멤버번수
i_      함수의 인자로 들어온 변수
Posted by ky

Google
BLOG main image
내머리속의 노트북 by ky

공지사항

카테고리

분류 전체보기 (342)
Computer (32)
Network (13)
Operating System (3)
Search Engine (2)
Semantic Web (5)
Web (8)
Programming (9)
mIRC (2)
Cook (2)
Biology (6)
Psychology (10)
Language (9)
Mobile (5)
Multimedia (1)
impression (164)
thought (36)
Funny Stuff (3)
life_story (18)
thai_story (0)
love_story (11)
Nikon (3)

글 보관함

달력

«   2008/07   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Total : 50539
Today : 5 Yesterday : 51