Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Programmers: Quick Question regarding printf

Author: Steven Edwards

Date: 06:31:18 09/18/03

Go up one level in this thread


On September 18, 2003 at 08:12:26, Joel wrote:

>Hey All,
>
>I am well aware that this probably has been answered before, but I cannot find
>anything! :|
>
>How do I display the value of a unsigned __int64 in Visual C++ when using
>printf?

In g++, it's

unsigned long long int val64;

cout.fill('0'); cout.width(16); cout << hex << val64;



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.