binary number in c++
- by baash05
In c++ 0x10 is the way to represent a hex value.
if I leave off the 0x then it's dec. Is there a way to define a binary?
Not that I can't derive 0x0003 is 11, but it would be cool if I could use
0b0011. It would just make the code a little more obvious.