摘要: 位域 一、基本概念 1.1 位域的概念 结构体中的冒号表示位域,如: struct bit_struct { unsigned int bit1:10; unsigned int bit2:8; unsigned int bit3:14; } data1; // sizeof data1 = 4 s 阅读全文
posted @ 2024-03-09 16:30 MElephant 阅读(50) 评论(0) 推荐(0) 编辑