Page 1 of 1
prob with printing Binary Digit
Posted: Sat Feb 04, 2006 11:53 am
by sv90
how can i print binary numbers
Posted: Sat Feb 04, 2006 12:18 pm
by mamun
Doing manual calculation
Posted: Mon Feb 06, 2006 4:38 pm
by sv90
in dont undrestand manually means what...
using bit mask oir anything elas
Posted: Mon Feb 06, 2006 6:55 pm
by mamun
You can use bit masking as well as the usual way we're taught to convert decimal into binary ie. keep on dividing by 2. You can search the net for both's description. But be careful if you're using bit mask, you have to know your compiler well.