C/C++关键字

1 typedef

1.1 为用户自定义的数据类型取一个新的名字

eg: 下例中的Vec2f

typedef struct {

    float x,y;

} Vec2f;

你可能感兴趣的:(C/C++关键字)