Possible duplicate:How to print fuint64_t?
I want to print u_int64_t in C. I want to know the format specifier for this? I am a C user, I want to do printf() .
u_int64_t
printf()
#include <inttypes.h> #include <stdio.h> uint64_t t = 42; printf("%" PRIu64 "\n", t);
You can use the L modifier for 64-bit integers, for example:
L
u_in64_t number; printf("%Lu", number);
Source: https://habr.com/ru/post/921238/More articles:Asynchronous libpcap: packet loss? - c ++pcap_next sometimes plays packages on Linux - c ++datetime object format - pythonPorting iPhone to iPhone 2d on iPhone. - javaHow to add text edit box and button in ActionBar? - androidActionBarSherlock with multiple MenuItems? - javaAlgorithm / Heuristic for grouping chat message history using "conversation" / implicit sessions from timestamps? - algorithmChange opacity of lines - opacityhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/921242/programs-to-compile-html-from-a-template&usg=ALkJrhgHpPqUCw_z2kl2bxkV42_AOQAfMADoes the assignment of a variable not work? - javaAll Articles