CHAR: Difference between revisions
Appearance
mNo edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
===C Declaration Method=== | ===C Declaration Method=== | ||
#define | #define | ||
===Example=== | |||
#define CHAR char | |||
==NPCHAR== | ==NPCHAR== | ||
Near pointer to a character. | Near pointer to a character. | ||
typedef CHAR NEAR *NPCHAR; | typedef CHAR NEAR *NPCHAR; | ||
==PCHAR== | |||
Pointer to a character. | |||
typedef CHAR *PCHAR; | |||
[[Category:Data type]] | [[Category:Data type]] |
Latest revision as of 18:53, 25 May 2024
Single-byte character.
Type
char
C Declaration Method
#define
Example
#define CHAR char
NPCHAR
Near pointer to a character.
typedef CHAR NEAR *NPCHAR;
PCHAR
Pointer to a character.
typedef CHAR *PCHAR;