sprintf for unsigned _int64

I don’t know what POSIX has to say about this, but this is nicely handled by core C99: #include <stdio.h> #include <inttypes.h> int main(void) { uint64_t dbFileSize = 99; uint64_t fileSize = 100; char buf[128]; memset(buf, 0x00, 128); sprintf( buf, “\nOD DB File Size = %” PRIu64 ” bytes \t” ” XML file size = … Read more