摘要: #include <iostream> #include <string> #include <set> using namespace std; int main() { string name[]={"tian","dsp","sp","ti"}; set<string> setname; fo 阅读全文
posted @ 2012-07-26 16:23 Dsp Tian 阅读(789) 评论(0) 推荐(0) 编辑
摘要: #pragma warning (disable:4786)#include <string>#include <iostream>#include <map>using namespace std;int main(){ string name[]={"tian","dsp","su","chu"}; map<int,string> mapname; for (int i=0;i<4;i++) { mapname.insert(pair<int,stri 阅读全文
posted @ 2012-07-26 15:48 Dsp Tian 阅读(575) 评论(0) 推荐(0) 编辑