#include
#include
#include
using namespace std;
int main()
{
set st;
st.insert(string("abc"));
st.insert(string("aba"));
st.insert(string("abe"));
st.insert(string("abf")); //aba在前边
st.erase(string("abe"));
set<string>::iterator ite = st.begin();
for(ite; ite != st.end();ite++)
{
cout << *ite <<endl;
}
system("pause");
return 0;