读书人

byte dir:二

发布时间: 2013-08-04 18:26:16 作者: rapoo

byte dir:2;
如题的定义是什么意思,为什么有个冒号
[解决办法]
表示 dir 这个成员只是用 2 个 bit.
Google: C 位段

读书人网 >C++

热点推荐