This is a bit field. the :2 notation means assign 2 bits to this member so your struct above would be 6 bits without packing.
This is a bit field. the :2 notation means assign 2 bits to this member so your struct above would be 6 bits without packing.
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi