Page 1 of 1

visual C

Posted: Sun May 04, 2003 11:28 am
by hijbul_ctg
can anbody tell me how to use int64 in Visual C++;

is the following is correct

_int64 n;

while(scanf("%I64",&n)==1)
printf("%I64",n);

thanks in advance;

Posted: Sun May 04, 2003 4:22 pm
by shahriar_manzoor
__int64 n;

while(scanf("%I64d",&n)==1)
printf("%I64d",n);


It should be like above :)