Click to See Complete Forum and Search --> : printf and int64


Luc
April 28th, 1999, 10:15 AM
Does anybody knows how to print an int64 using printf ?

PeterK
April 28th, 1999, 02:13 PM
There are two ways to change int64 to ASCII.

_int64 numAmount;
char textAmount[100];

_i64toa( numAmount, textAmount, 10 );

printf(textAmount, "%I64d", numAmount);