int 转string

int upLimit = 100;

#if CC_TARGET_PLATFORM != CC_PLATFORM_ANDROID
         std::string upLimitStr = std::to_string(upLimit);
#else
         std::ostringstream os;
         os << t;
         std::string upLimitStr = os.str();

#endif