Windows 上的 stdlib.h 函数应包含哪些库?

Ver*_*sen 3 c windows c-standard-library

我来自 Mac 世界,对 Windows 开发还很陌生。非常简单的问题:我需要在 Visual Studio 2010 中包含哪些库才能访问一些基本函数,例如 strtof() 或 snprintf()?获取这些链接器错误... #including <stdlib.h>、、<ctype.h><string.h>

R..*_*R.. 5

MSVC不支持C99,仅半途支持旧版本的C标准。snprintfstrtof在 C99 中添加,因此不可用。