Thursday, December 29, 2011

[Solution] strtoll() is not supported by Visual C++

Microsoft standard C library does not contain strtoll() function that converts a string to a 64 bit integer.

However, there is a _strtoi64() function that can be used instead:

#if defined(_MSC_VER)
#define strtoll _strtoi64
#endif

No comments:

Post a Comment