Where is in Visual Studio 2005?

后端 未结 3 562
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-11 15:32

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 ins

相关标签:
3条回答
  • 2020-12-11 16:00

    No, it is not included in VS 2005.

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

    0 讨论(0)
  • 2020-12-11 16:15

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

    0 讨论(0)
  • 2020-12-11 16:19

    For Visual Studio 2005 see the bug "C99 header <inttypes.h> missing" at http://connect.microsoft.com/VisualStudio/feedback/details/99133/c99-header-inttypes-h-missing#details where it seems Microsoft did not plan to add the file to Visual Studio 2005.

    It seems to me that inttypes.h is missing also from Visual Studio 2010.

    For the C++ header <cinttypes> in Visual Studio 2012 see the bug "C++11 header is missing (Microsoft Visual Studio Ultimate 2012 RC 11.0.50522.1)" at https://connect.microsoft.com/VisualStudio/feedback/details/748766/c-11-header-cinttypes-is-missing-microsoft-visual-studio-ultimate-2012-rc-11-0-50522-1

    0 讨论(0)
提交回复
热议问题