I would like to have pointed out what the code below means.
/NetstarCode:int x:4;
I would like to have pointed out what the code below means.
/NetstarCode:int x:4;
It specifies the number of bits used by the struct member (only possible within structs).
Example: (copied from MSDN help).
Code:struct CELL // Declare CELL bit field { unsigned character : 8; // 00000000 ???????? unsigned foreground : 3; // 00000??? 00000000 unsigned intensity : 1; // 0000?000 00000000 unsigned background : 3; // 0???0000 00000000 unsigned blink : 1; // ?0000000 00000000 };
Ok, I guessed it was something like that. But I did'nt know that it could only be used within structs.
Thanks and sorry for not reading the manual.