The sign of a nonzero value returned by the comparison functions is determined by the sign of the difference between the values of the first pair of characters (both interpreted as unsigned char ) that differ in the objects being compared.
4.11.4.2 The strcmp function Synopsis
#include <string.h> int strcmp(const char *s1, const char *s2);
Description
The strcmp function compares the string pointed to by s1 to the string pointed to by s2. Returns
The strcmp function returns an integer greater than, equal to, or less than zero, according as the string pointed to by s1 is greater than, equal to, or less than the string pointed to by s2.
[解决办法]
int __cdecl strcmp ( const char * src, const char * dst ) { int ret = 0 ;