Re: [Vala] printing int64 value to standard output



On Mon, May 14, 2012 at 10:09 AM, D.H. Bahr <dbahr uci cu> wrote:
Hello there, how can I print an int64 variable to stdout??

int64 timestamp = 1234151912;
stdout.printf("%?", timestamp);


%lld is the format string you need.

Regards,
Abhijit



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]