Performance Tools for Software Developers - printf() format descriptors of 64-bit objects


There is no difference between descriptors for 64-bit objects and 32-bit objects. When displaying a 64-bit fixed-precision object ( INT64, UINT64, LONG64, ULONG64, or DWORD64) use the I64 flag with %d.

INT64 x = 1234567890123456;
printf("The 64 bit number is: %I64d ",x;)

As a rule, use %p to display the new pointer types. This will give their full hexadecimal value.

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.