Hi,
Usually I understand how to use the conditional operator in C, but this one was tricky.
if (GEN_SLIDING_ATTACKS[(RANKS[square]-1) < (FILES[square]-1) ? (RANKS[square]-1) :...
Type: Posts; User: One
Hi,
Usually I understand how to use the conditional operator in C, but this one was tricky.
if (GEN_SLIDING_ATTACKS[(RANKS[square]-1) < (FILES[square]-1) ? (RANKS[square]-1) :...