Original Post
Hi,
Ok in my project for school the book says i need to add 2 32 bit integers
using bit by bit addition modulo 2(that is, they are combined using the
exclusive or operation).
Is this as easy as:
int nSumOfBits = intOne ^ intTwo;
?????????
If not can someone tell me how to do what my book says i need to do. Please explain and dont just post code as, bit operations aren''t my favorite thing in the world.
Thanks
ECKILLER