Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is <inttypes.h> in Visual Studio 2005?

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?

like image 341
David Coufal Avatar asked Jul 20 '09 22:07

David Coufal


2 Answers

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

like image 149
sbi Avatar answered Sep 28 '22 09:09

sbi


No, it is not included in VS 2005.

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

like image 26
William Avatar answered Sep 28 '22 07:09

William