#include "stdint.h" #include using namespace std; static int64_t stringToint64(const string& strValue) { #ifdef WIN32 return _atoi64(strValue.c_str()); #else return atoll(strValue.c_str()); #endif } static string int64Tostring(int64_t nValue) { char sz[100]; #ifdef WIN32 sprintf(sz, "%I64u", nValue); #else sprintf(sz, "%llu", nValue); #endif return sz; }