摘要:
void MySplit(const string& s, vector<string>& v, const string& c){ v.clear(); string::size_type pos1 = 0, pos2 = s.find(c); while (string::npos != pos 阅读全文
摘要:
template <class Type>Type StringToNum(const string& str){ istringstream iss(str); Type num; iss >> num; return num;} template <class Type>string NumTo 阅读全文