//字符串比较
if(strcmp(str,"hello str") == 0)
{
//字符串相同
}
else
{
//字符串不同
}
C++字符串比较strcmp-随心
最新推荐文章于 2025-03-18 17:56:42 发布
//字符串比较
if(strcmp(str,"hello str") == 0)
{
//字符串相同
}
else
{
//字符串不同
}