set<char>::iterator iter = temp1.begin();
while (iter!=temp1.end())
{
cout<<*iter;
iter++;
}
c++遍历set
最新推荐文章于 2024-03-26 15:12:12 发布
set<char>::iterator iter = temp1.begin();
while (iter!=temp1.end())
{
cout<<*iter;
iter++;
}