[quote=引用 2 楼 luo560 的回复:] [quote=引用 1 楼 jianwen0529 的回复:] typedef union{ uint16_t u16; unit32_t u32; float f; double d; }ElementType; 用联合体来替代ElementType,在你用不同场景的时候选择适当的union中的值即可
[quote=引用 1 楼 jianwen0529 的回复:] typedef union{ uint16_t u16; unit32_t u32; float f; double d; }ElementType; 用联合体来替代ElementType,在你用不同场景的时候选择适当的union中的值即可
typedef union{ uint16_t u16; unit32_t u32; float f; double d; }ElementType; 用联合体来替代ElementType,在你用不同场景的时候选择适当的union中的值即可
69,371
社区成员
243,082
社区内容
加载中
试试用AI创作助手写篇文章吧