I would like to know if Microsoft Visual Studio 2010 supports C99. If not, how can I use the standard types like intptr_t and uintptr_t?
As far as I can tell, Visual Studio 2010 does not support C99. To use types from stdint.h, you will have to use a typedef. A cross-platform way to do this would be:
#ifdef _WIN32
typedef signed short int16_t
#else
#include
#endif
See also this this question: Visual Studio support for new C / C++ standards?