typedef 的应用

typedef int RINT;

       RINT 就相当于 int;

typedef struct{

 ....

} A,*B;

 A a; 定义结构体的对象

B pb; 定义结构体的指针对象。



猜你喜欢

转载自blog.csdn.net/Na2Co3_Ren/article/details/79196719