using '&', '|','!' and others with bits, the manual tells us how. but not how compare them
see these consts:
imagine that 'a' have RANDOM and IMMEDIATE. how can i test it?Code:const int RANDOM=1; const int IMMEDIATE=2; const int SEARCH=3; int a;
(maybe these consts values aren't correct, but these is for i understand how can i compare several values with bit flags)