Hi people,
what does it mean for those definition of the bit fields, co_processor and game_port?Code:int main() { int far * equipment_memory = (int far *)0x00400010; union check_equip { unsigned int view_equip; struct bits { unsigned num_drive: 1; unsigned co_processor: 1; : 2; unsigned game_port : 2; : 2; /*what does it mean here*/ unsigned video_mode : 2; } bit_view; }equipment; /* some processing here....*/ return 0; }
Would anyone please explain it clearly. Thanx!
C-Dumbie