c++strcmp function

The
strcmp function in the header file cstring is the abbreviation of string compare (string compare), which is used to compare two strings and return an integer according to the comparison result. The basic form is strcmp(str1,str2), if str1=str2, it returns zero; if str1<str2, it returns a negative number; if str1>str2, it returns a positive number

Guess you like

Origin blog.csdn.net/J_avaSmallWhite/article/details/109253055