Page 1 of 1
_int64 ( :-? )
Posted: Fri Jun 13, 2003 9:06 pm
by kallal
I am using Turbo C/C++ , It doesn't have _int64. how can i handle 64 bit number ?

Posted: Sat Jun 14, 2003 11:04 am
by hijbul_ctg
no u cannot do it in tc. u must use Visual C.
in turbo 3.1 version u can use long which is 32 bit.
and before submit u make it long long which 64 bit, in judge complier support it. it may be gcc compiler.
long long n;
printf("%lld",n);
Posted: Sat Jun 14, 2003 3:15 pm
by Moni
But Hijbul!
A generally use C++ so when using :
[cpp]
long long a;
long double b;
cout << a << b;
[/cpp]
It don't bother much
But in C what will be appropiate for long double data type ???

Posted: Sun Jun 15, 2003 7:38 am
by hijbul_ctg
Hi Moni
I don't understand your question. if you want to know about the argument than in C it is as follows:
long double n;
printf("%Lf",n);
Posted: Wed Jun 18, 2003 4:52 pm
by anupam
yes moni bhai,
you can do it with borland c but u cannot use long long in visual c++.
because it is only supported by unix and linux operating system.
Posted: Mon Jul 07, 2003 6:54 am
by hank
Hi everybody!
Can you tell me how to use "printf" to print a _int64 value?
(I use VisualC++ 6.0 and I don't have bc++,so I can't use "long long" data type)
Thanks a lot!!

Posted: Mon Jul 07, 2003 9:00 am
by Dominik Michniewski
printf("%I64d",x);
Best regards
DM