To Print TInt64 on a console with Printf

Login to reply to this topic.
Wed, 2007-09-19 03:42
Joined: 2007-09-04
Forum posts: 19

Hi All,

I have a one query. I want to print TInt64 with the Printf.

e.g. to print a integer, we use
console->Printf(_L("\nThe integer conversion is %d\n"),myInt1);

Now If I have to print long or unsigned long, in normal C it is %l or %lu.
But In Symbian Can somebody give the idea of all % i.e for TInt32,Tint64...etc.

Thanks,
Raj.


Wed, 2007-09-19 05:45
Joined: 2004-05-21
Forum posts: 286
Re: To Print TInt64 on a console with Printf

Use %Ld or %Lu instead of %d

Cheers,
Sri

  • Login to reply to this topic.