We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I've a lot of troubles working with the memcmp command. I want to compare two strings, which are equal, but the programm tells me that they are not equal. Both memory locations have the same values.
unsigned char *pdata; const char *pName; //do some stuff - e.g. get their values memcmp((void *)pdata, (void *) pName, strlen((const char *)pName));
best regards Howard
that's the point - thank you very much for your fast answers!