首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

typedef int *INT; INT a; //这个a是什么类型的?该如何解决

2012-04-02 
typedef int *INT INT a//这个a是什么类型的?typedef int *INT; *INT 前面带上*是什么意思?typedef int

typedef int *INT; INT a; //这个a是什么类型的?
typedef int *INT; *INT 前面带上*是什么意思? 

typedef int *INT; 
INT a; //这个a是什么类型的?

[解决办法]
typedef int *INT; *INT 前面带上*是什么意思? 


表示INT是一个int的指针类型

typedef int *INT; 
INT a; 

相当于

int* a;


热点排行