c++中怎么比较两个字符串的大小(包括bu✀to)

2025-06-28 15:50:15
推荐回答(1个)
回答1:

string s1 = "ab";
string s2 = "cd";
if (s1 < s2)
{
....
}