DirtyLude
Well-Known Member
No problem. The IDE is modified Eclipse so you'll see that format in other IDE's as well.
There is no binary number specifier that I know of in any standard C. I used to use a header file with definitions for them all, but now I just avoid specifying anything in binary. It helps to use the bitwise complement operator (~) if you want to specify everything but a specific bit, so 0b11111110 would be the same as ~(0x01).
Attached the binary header file. Everything starts with 'b', because you can't start a definition or variable name with a number.
There is no binary number specifier that I know of in any standard C. I used to use a header file with definitions for them all, but now I just avoid specifying anything in binary. It helps to use the bitwise complement operator (~) if you want to specify everything but a specific bit, so 0b11111110 would be the same as ~(0x01).
Attached the binary header file. Everything starts with 'b', because you can't start a definition or variable name with a number.