Sunday, January 10, 2010

Print 64 -bit Integer in Windows

Microsoft use different way to print 64bit unsigned Integer; it uses "I64" instead of "ll":

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