A
Archos
Does exist a shorthand assignment operator to assign AND and NOT at
the same time? like &^=
the same time? like &^=
Does exist a shorthand assignment operator to assign AND and NOT at
the same time? like &^=
No. But with use of boolean algebra, there may be a simpler
representation anyway for you. !(a && b) == !a || !b
Then ,just for archiving, the assignment "&^=" would be:
a = a & b ^ a
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.