On Thu, Jun 15, 2017 at 01:19:57PM +0100, Robert Swindells wrote: > > Is there a recommended way to print a 64-bit value ? The man page for > printf(3) suggests that using %qd is deprecated.
See inttypes(3). #include <stdint.h> #include <inttypes.h> uint64_t x = 12; printf("%" PRIu64 "\n", x); Dave -- David Young dyo...@pobox.com Urbana, IL (217) 721-9981