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