|
Strange variable names?
Have you ever wondered what those strange variable names C programmers operate with really mean? Here's a list of some of the things they do to their variable names
Author: Jens G. BalchenPrefixes
| ch |
character |
| cch |
a count of characters |
| w |
an unsigned integer (a WORD) |
| dw |
an unsigned long integer (a double WORD) |
| n |
an integer |
| a |
an array |
| b |
a byte |
| h |
a handle |
| f |
a flag (a Boolean value) |
| p |
a pointer |
| lp |
a long pointer (a pointer to a value outside the current segment) |
| sz |
a zero terminated string (a C string) |
| lpfn |
a long pointer to a function |
| i |
an index into an array |
| cb |
a count of bytes |
| LPCSTR |
a long pointer to a constant string (one you can't change) |
| LPSTR |
a long pointer to a string |
|