Why are there multiple C functions for case-insensitive comparison
问题 For comparing any strings without considering their case, there are various C library functions such as strcasecmp() , stricmp() and stricmpi() . What is the difference between these? 回答1: There are multiple ways to do many things primarily because the standards process lags behind implementations. People see the need for a function (in this case, case insensitive string comparison) and some compiler writers/library writers implement a function called strcmpi , while another group implements