摘要:
int StringUtil::intFromString(string data){ //NOTE atoi是非标准C函数 return atoi(data.c_str());}string StringUtil::stringFromInt(int data){ char tm... 阅读全文
摘要:
time_t Time::timeFromGMT(string gmt){ char week[4]; memset(week,0,4); char month[4]; memset(month,0,4); tm date; sscanf(gmt.c_str(),... 阅读全文