feat: 不需要 typedef

This commit is contained in:
董超凡
2021-11-11 15:11:44 +08:00
parent f5bf0b76c5
commit 5ab326e055

View File

@@ -378,7 +378,7 @@ for (struct node *cur = head; cur != NULL; cur = cur->next) {
struct 还可以用来定义二进制位组成的数据结构称为“位字段”bit field这对于操作底层的二进制数据非常有用。
```c
typedef struct {
struct {
unsigned int ab:1;
unsigned int cd:1;
unsigned int ef:1;