Case Insensitive String Comparison in C
There is no function that does this in the C standard. Unix systems that comply with POSIX are required to have strcasecmp in the header strings.h; Microsoft systems have stricmp. To be on the portable side, write your own: int strcicmp(char const *a, char const *b) { for (;; a++, b++) { int d = … Read more