-
C++中字符串比较函数strcmp怎么用?
C++中字符串比较函数strcmp的用法是什么?函数原型:int strcmp(const char *s1, const char *s2);1头文件:#include <string.h>1功能: 用来比较两个字符串参数:
C++中字符串比较函数strcmp的用法是什么?函数原型:int strcmp(const char *s1, const char *s2);1头文件:#include <string.h>1功能: 用来比较两个字符串参数: