The ISO C99 standard specifies that these macros must only be defined if explicitly requested.
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
... now PRIu64 will work
More Related Contents:
- how to find month of quarter not a quarter of month [closed]
- Increment in both side in C [closed]
- Why can templates only be implemented in the header file?
- How do I print out the contents of a vector?
- Remove elements of a vector inside the loop
- Why does optimisation kill this function?
- What variable type for extremely big integer numbers?
- Tail recursion in C++
- Can the template parameters of a constructor be explicitly specified?
- C++ floating point precision [duplicate]
- Mixing cout and wcout in same program
- What does “WINAPI” in main function mean?
- c++ compile error: ISO C++ forbids comparison between pointer and integer
- C-Style Strings as template arguments? [duplicate]
- Should we pass a shared_ptr by reference or by value?
- When is a C++ destructor called?
- How to project a point onto a plane in 3D?
- Why is it illegal to take the address of an rvalue temporary?
- Is std::string ref-counted in GCC 4.x / C++11?
- How can I change the background color of a button WinAPI C++
- GNU C++ how to check when -std=c++0x is in effect?
- Convert between string, u16string & u32string
- opencv how can I select a region of image irregularly with mouse event? c/c++ [closed]
- std::thread error (thread not member of std)
- C++: Why pass-by-value is generally more efficient than pass-by-reference for built-in (i.e., C-like) types
- behavior of const_cast in C++ [duplicate]
- Optimizations for pow() with const non-integer exponent?
- Is there some meaningful statistical data to justify keeping signed integer arithmetic overflow undefined?
- Const and non const template specialization
- Workaround for error C2536: cannot specify explicit initializer for arrays in Visual Studio 2013