the first statements uses logical and (&&) the second uses bitwise and (&), so you might try using '&&=' in the second statement.
There is no such critter: '
&&='.
Reputation Points: 2780
Solved Threads: 312
long time no c
Offline 4,790 posts
since Apr 2004