question about reading inputs starting with 0

This is a discussion on question about reading inputs starting with 0 within the C Programming forums, part of the General Programming Boards category; i know this may seem odd but i want to read in an input starting with a 0
its a ...

That's because, by default, the compiler thinks you're using a decimal system, and it looks like you're using binary (or trying to). You'll need to convert all the numbers to hex and then precede each one with 0x.