When coding a program to use struct of bit fields, i.e.
1) is there any way to fast initialize, i.e. to 0, or must I put each field to 0; (m=0, or, m.f1=0, m.f2=0, etc)....Code:struct m { f1:5; f2:6; f3:7; f4:1; }
2) can I compare structs in the way :
if (m==...)
or the only way to compare is field to field?
thx