I wrote a code in C and I used quick if and I have a problem with that. That's my code:
flagsCreteria[i++][1] += ((nflag & flags::INDOOR) ? 1:0);//compare bits
I know that it needs to add me the 1 but it adds me the 0;
Can anyone help me ?
Aucun commentaire:
Enregistrer un commentaire