Prefixing numbers with a zero, with regards to integer constants, gives you octal. Write a program to move through the bits of the variable (read the bit shifting FAQ), and if set, place a 1, else a 0.
Quzah.
Prefixing numbers with a zero, with regards to integer constants, gives you octal. Write a program to move through the bits of the variable (read the bit shifting FAQ), and if set, place a 1, else a 0.
Quzah.
Hope is the first step on the road to disappointment.
Too bad it doesn't give me binary because then my problems would be solved. Alright, I'll take a look at the bit shifting facts, thanks for the tip.Originally Posted by quzah