urgent: reading binary numbers bit by bit
Posted on 2004-04-28
ive got to write a software where 2binary numbers are input and added together.
i need to know how to add two binary numbers bit by bit(bit by bit because i need to use the bits later). there will CARRY digits and SUM digits as a result, but mainly my problem is figuring out how to Store the binary numbers(say x,y) so that i can pick out the bits of the same position and add them.