What library to include on Windows for stdlib.h functions?

5.6k Views Asked by At

I come from the Mac world, and am pretty new to Windows development. Very simply question: what libraries do I need to include in Visual Studio 2010 to get access to some basic functions like strtof() or snprintf()? Getting linker errors for these... #including <stdlib.h>, <ctype.h>, <string.h>

1

There are 1 best solutions below

4
On BEST ANSWER

MSVC does not support C99, and only halfway supports the older versions of the C standard. snprintf and strtof were added in C99, and thus not available.