Skip to content

Instantly share code, notes, and snippets.

@DamonHao
Created July 14, 2014 02:42
Show Gist options
  • Select an option

  • Save DamonHao/47f2c46bac5b4b267ea2 to your computer and use it in GitHub Desktop.

Select an option

Save DamonHao/47f2c46bac5b4b267ea2 to your computer and use it in GitHub Desktop.
c printf uint_64
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#include <stdio.h>
int main()
{
uint64_t ui64 = 90;
printf("test uint64_t : %" PRIu64 "\n", ui64);
return 0;
}
//references
//https://stackoverflow.com/questions/8132399/how-to-printf-uint64-t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment