std::string 转uint64方法:

#include <string>
#include <sstream>

uint64 stringToUINT64(const std::string s)
{
std::stringstream a;
a << s;
UINT64 ret = 0;
a >> ret;
return ret;
}

posted on 2017-06-06 14:42  阿兴的平凡世界  阅读(5969)  评论(0编辑  收藏  举报

导航