I need to work with a binary number.
I tried writing:
const x = 00010000;
But it didn\'t work.
I know that I can use an hex
You can also use inline assembly like this:
int i; __asm { mov eax, 00000000000000000000000000000000b mov i, eax } std::cout << i;
Okay, it might be somewhat overkill, but it works.