typedef的使用

来源:互联网 发布:国际空间站直播软件 编辑:程序博客网 时间:2024/06/17 17:12

typedef struct date{    int x;    int y;    int z;}th;//typedef这个修饰符是指你定义了一个变量名,而没有声明变量th three[50005];

这个代码等于

struct date{    int x;    int y;    int z;}three[50005];

结构数组


原创粉丝点击