I wanted to know is that possible to initialize a variable in binary? In declaration one hex 0x ..., In octal 0 ... In binary? 0b ... does not work. My compiler "GNU GCC compiler, I use Code:: Blocks. For a int a, I would have such increment, but only from the 10th bit (counting from the left). So if a = 34952 (1000100010001000 in binary),it will become 1000100010101000. So I will use the operators>> , I just wanted to initialize a value but in binary.Thank you in advance
Bookmarks