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 use a bitset
bitset<8> b(string("00010000")); int i = (int)(bs.to_ulong()); cout<