Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Formatting ULongLong for sprintf

104 views
Skip to first unread message

Jochen Kalmbach [MVP]

unread,
Oct 7, 2005, 9:34:39 AM10/7/05
to
Hi Dan!
> What sprintf formatting sequence would I use to format a ULongLong? Could I
> just use %lu, or do I need something else?

%I64u

See: Format Specification Fields: printf and wprintf Functions
http://msdn.microsoft.com/library/en-us/vclib/html/_crt_format_specification_fields_.2d_.printf_and_wprintf_functions.asp

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/

Alex Blekhman

unread,
Oct 7, 2005, 9:46:48 AM10/7/05
to
Dan wrote:
> What sprintf formatting sequence would I use to format a
> ULongLong? Could I just use %lu, or do I need something
> else?

You need to use %I64u.


0 new messages