Hey guys I am working with a software that needs to check for a char byte lets say like this:
char id = 0xa2;
As we all know that is a char byte in hex, what I need is a way to read from a txt file that same hex number, and compare it with id. As you may notice when you read from a file what you have is a char pointer containing the string let's say 0xa2 I need a way that I could compare the two values to check if it is the same ID obviously I know that one of the two values have to be converted to match the other, I just dont know how to do it and I have tried several methods