摘要: array_s array[5] = { [1] = {x, {x, x}}, [3] = {x, x, x}, }; #include <stdio.h> typedef struct { int b1; int b2; } B_type_s; typedef struct { int a; B_ 阅读全文
posted @ 2021-06-04 16:28 Bryce-Hu 阅读(123) 评论(0) 推荐(0)
摘要: typedef union { struct { uint16_t cnt : 15; uint16_t flag : 1; }; uint16_t itself; } time_flag_u; #include <stdio.h> typedef unsigned int uint16_t; ty 阅读全文
posted @ 2021-06-04 16:08 Bryce-Hu 阅读(139) 评论(0) 推荐(0)