摘要: 根据百度百科的:http://baike.baidu.com/view/1026924.htm 函数简介 原型:extern int strcmp(const char *s1,const char * s2); 所在头文件:string.h 功能:比较字符串s1和s2。 一般形式:strcmp(字符串1,字符串2) 说明: 当s1s2时,返回值 = 1 注:c++ 中 当s1s... 阅读全文
posted @ 2013-08-16 22:03 @且听风吟@ 阅读(331) 评论(0) 推荐(0)