CHAR: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
[[char]] | [[char]] | ||
== C Declaration Method == | ===C Declaration Method=== | ||
#define | #define | ||
==Example== | ===Example=== | ||
#define CHAR | #define CHAR char | ||
==NPCHAR== | |||
Near pointer to a character. | |||
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;