i have the follwing code:
char* id = someFunction();
if (id == "0x01") {
id = ....
}
so, what i basically need – is to check, if in the id variable i have the string value “0x01”, and if yes, then pass there the {0x01, 0x00} system symbols instead of it.
Thanks for your help.
use
strcmp().this function is available in
string.h