James wrote:
> -> How do you use binary numbers in C? i'm sure i once knew...
> ->
> -> i know you prefix 0x to numbers for Hex, 0 for octal, what's binary...
> -
> -ANSI C doesn't provide any way to specify numbers in binary.
>
> ahh... oops! i know where i saw it, x86 assembly : mov al, 01010101b
> oh well, looks like i'll have to keep my calculator handy...
You need a calculator to convert binary <-> hex?
C'mon; there's only 16 digits to remember. If that's too difficult,
use octal; then there's only 8 digits to remember.
--
Glynn Clements <[EMAIL PROTECTED]>