分享一些结构体学习笔记(typedef)
未使用之前的代码
使用之后typedef.首先定义了struct Distance结构体,typedef将struct Distance定义为distances。
distances就等价于 struct Distance.
分享一些结构体学习笔记(typedef)
未使用之前的代码
使用之后typedef.首先定义了struct Distance结构体,typedef将struct Distance定义为distances。
distances就等价于 struct Distance.