Are there any functions out there to convert Hex to Bin?
Like if I had 0xA0 it would convert it to 0b10100000.
But I mainly want this so I could get the say the first bit like:
And I could write getHex(0xA0, 16) and it would return true.
Like if I had 0xA0 it would convert it to 0b10100000.
But I mainly want this so I could get the say the first bit like:
Code:
bool getHex(char * hex, int place);
Comment