How do I combine hexadecimal numbers? For example if I have the numbers:
How can I combine them to get : aa145d ?
There are a few things wrong with your code: [ICODE]int a = aa; [/ICODE]. The compiler will complain about not knowing what 'aa' is. If you want to input hex-numbers, you need to add a 0x, so : [ICODE]int a = 0xaa; [/ICODE]. This: [icode]int combination = (a&b&c);[/icode] is wrong. … Read More
Edited by firstPerson: n/a