I have two postcodes char* that I want to compare, ignoring case. Is there a function to do this?
char*
Or do I have to loop through each use the tolower func
I would use stricmp(). It compares two strings without regard to case.
stricmp()
Note that, in some cases, converting the string to lower case can be faster.