set的erase函数

#include "stdafx.h" #include<set> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { set<int> st; st.insert(1); st.insert(1); st.insert(2); st.insert(3); st.erase(1);//直接删除 st.erase(s
相关文章
相关标签/搜索