举例说明strcmp的用法

strcmp为比较字符串函数(只能比较字符串的大小) strcmp函数的原型为:int strcmp( const char *string1, const char *string2 ); 返回值为: Value Relationship of string1 to string2 < 0 string1 less than string2 (string1 < string2) 0 strin
相关文章
相关标签/搜索