long long conversion specifier

Sisyphus kalinabears@iinet.net.au
Tue Sep 28 12:29:00 GMT 2004


Hi,

On a 32 bit PC (Win32) what is the printf conversion specifier that I 
need to use in order to print out an unsigned 64 bit (long long) value ?

I can't believe the trouble I'm having in finding an answer ... I've 
found such things as 'llu', 'Lu', and 'l64u', but none of those work 
(either with or without a preceding '%') with my gcc (MinGW) compiler.

Also it would be really great if anyone can supply a weblink to a 
*complete* list of conversion specifiers.

Cheers,
Rob



More information about the Gcc-help mailing list