Binary number

04 Mar 2011

Hi,

Does the compiler support binary number format ? It is supported with Code Red compiler. In C binary number is defined as 0b1010101. Similar to 0x123ABC for hex number and 0123 for octal. The compiler generate error when binary number is defined.

04 Mar 2011

Binary numbers are not defined in the C or C++ standard, so the compiler does not have to support them.