//字符串比较
if(strcmp(str,"hello str") == 0)
{
//字符串相同
}
else
{
//字符串不同
}
C++字符串比较strcmp-随心
最新推荐文章于 2024-05-06 10:34:47 发布
//字符串比较
if(strcmp(str,"hello str") == 0)
{
//字符串相同
}
else
{
//字符串不同
}