但是,如果您使用位元进行构建,更改十分容易且十分必要。
But when you're building with bits, change is easy and highly desirable.
下列范例使用位元组指标,在来源和目的字串之间读取及写入字元,借以反向复制字串。
The following example copies a string in reverse, by using byte Pointers to read and write characters between the source and destination strings.
若要使用位元栏位正确储存和撷取结合的列举值,列举中所定义的每个值都必须为二的次方。
For a bit field to store and retrieve combined enumeration values correctly, each value that is defined in the enumeration must be a power of two.
应用推荐