views:

366

answers:

3

I'd like to use the C99 header file inttypes.h in a Visual Studio project (I'd like to printf 64 bit numbers).

However, this file does not seem to exist in my install.

Is this just not part of VS2005? Are there any alternatives?

+6  A: 

It's at google. VS doesn't come with <inttypes.h>

sbi
Then they should stick to the C++ standards.
ojblass
Um, `<inttypes.h>` is a C99 header, isn't it?
sbi
+5  A: 

No, it is not included in VS 2005.

An alternative is Boost's implementation in the Boost::Integer library, specifically boost/cstdint.hpp

William
+1  A: 

__int64!

kitchen