Difference between revisions of "OOP344 - FjXR - 20102"
Line 15: | Line 15: | ||
|- | |- | ||
| E || [[User:lwang168 | Liang Wang ]] || lwang168 || A || [mailto:lwang168@learn.senecac.on.ca lwang168] || [[Special:Contributions/lwang168 | lwang168]] || lwang168 || [http://lwang168.blogspot.com/ my blog] | | E || [[User:lwang168 | Liang Wang ]] || lwang168 || A || [mailto:lwang168@learn.senecac.on.ca lwang168] || [[Special:Contributions/lwang168 | lwang168]] || lwang168 || [http://lwang168.blogspot.com/ my blog] | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | |||
+ | == Common Hungarian Notation Prefixes == | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {| class="wikitable sortable" border="1" cellpadding="5" align="left" | ||
+ | |||
+ | Prefixes are often combined to form other prefixes, as when p and sz are joined to form psz, which stands for "pointer to zero-terminated string." | ||
+ | |||
+ | See Example Below | ||
+ | |||
+ | int nCount = 45 ; | ||
+ | char szUserName[20]; | ||
+ | char* pszUserName[20]; | ||
+ | char cLetter = 'a' ; | ||
+ | |||
+ | ! Prefix !! Data Type | ||
+ | |- | ||
+ | | b || BOOL | ||
+ | |- | ||
+ | | c or ch || char | ||
+ | |- | ||
+ | | clr || COLORREF | ||
+ | |- | ||
+ | | cx, cy || Horizontal or vertical distance | ||
+ | |- | ||
+ | | dw || DWORD | ||
+ | |- | ||
+ | | h || Handle | ||
+ | |- | ||
+ | | l || LONG | ||
+ | |- | ||
+ | | n || int | ||
+ | |- | ||
+ | | p || Pointer | ||
+ | |- | ||
+ | | sz || Zero-terminated string | ||
+ | |- | ||
+ | | w || WORD | ||
+ | |- | ||
+ | | f || float | ||
|- | |- | ||
|} | |} |
Revision as of 12:24, 31 May 2010
We are FjXR, Code fixers are ready to go!
Group member
Group | First Name | Last Name | Section | Seneca Id | wiki id | IRC nick | Blog URL |
---|---|---|---|---|---|---|---|
A | Xiongwen Lu | xlu44 | A | xlu44 | xlu44 | xlu44 | my blog |
B | Junseok | Park | A | Junseok | jpark68 | jpark68 | My Blog |
C | Richard | Hui | A | rhui4 | Rhui4 | Rhui4 | My Blog |
D | Priya | Gill | A | pkgill5 | priya | pkgill5 | My Blog |
E | Liang Wang | lwang168 | A | lwang168 | lwang168 | lwang168 | my blog |
Common Hungarian Notation Prefixes
Prefix | Data Type |
---|---|
b | BOOL |
c or ch | char |
clr | COLORREF |
cx, cy | Horizontal or vertical distance |
dw | DWORD |
h | Handle |
l | LONG |
n | int |
p | Pointer |
sz | Zero-terminated string |
w | WORD |
f | float |