http://blog.csdn.net/ly21st http://ly21st.blog.chinaunix.net
发布时间:2011-11-22 14:24:05
#include <iostream>#include <vector>#include <map>#include <stdexcept>#include <fstream>#include <sstream>using namespace std;void make_map(ifstream &in,map<string,string> &dict){ string key,word; while(in>>key>>word,!in.eof()) { &.........【阅读全文】
发布时间:2011-11-21 15:44:48
#include <iostream>#include <vector>using namespace std; template <typename T1,typename T2>T1 findInt(T1 t1,T1 t2, T2 val){ while (t1 != t2) { if ((*t1)== val) break; .........【阅读全文】