#define PINT int* typedef int *SINT

来源:互联网 发布:iconkit for mac 编辑:程序博客网 时间:2024/06/17 23:39
#define PINT int* 
就是把所有的词 PINT 替换成 int * ,替换完毕再编译。 
int* x; 和PINT x; 的声明是等价的。long int* x; 声明是可以的,long PINT x; 也是可以的
typedef int* PINT; 是语句,由编译器在编译过程中编译处理。