C+中“结构”与“类型结构”的区别?在C+中,在以下方面是否有区别:struct Foo { ... };和typedef struct { ... } Foo;
3 回答
RISEBY
TA贡献1856条经验 获得超5个赞
struct
/union
/enum
typedef
struct Foo { ... };Foo x;
Foo
struct Foo x;
Foo
struct Foo
typedef
:
struct Foo { ... };typedef struct Foo Foo;
struct Foo
Foo
Foo
struct
typedef struct Foo { ... } Foo;
typedef
.
typedef struct { ... } Foo;
typedef
struct
/union
/enum
/class
typedef
- 3 回答
- 0 关注
- 537 浏览
添加回答
举报
0/150
提交
取消