Bern <
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
wrote in message why doesn;t C/c++ support binary numbers? I take it you mean binary integer constants ? (All numbers are stored as binary.) Well, we have the hex integer constant, which is easier for most people to read. Compare (makng up my own format for binary): 0x8014 versus 0_1000000000010100 It's awfully easy to mis-count the number of zeros there, isn't it? When I write such binary-format numbers on paper, I end up breaking them into groups, like this: 1000 0000 0001 0100 ..which is exactly the hexadecimal grouping! But it's just as easy to say 0x8014, because I've gotten used to recognizing the bit patterns for hex numbers in my brain, and not having to write them down. But those are just MY reasons that I don't think it's needed. You'd have to ask the standards committee why THEY chose not to use them.

-Howard