Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Outputting u64 word using printf?

Author: William Bryant

Date: 07:50:50 06/07/04

Go up one level in this thread


On my system, which uses GCC 3.3, the specifier %qu specifies an unsigned long
long value:

unsigned long long theVal = 0x1234567012345670ULL;
printf("This is a unsigned long long value: %qu\n", theVal);

hope this helps.

William



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.