Recently my project needs int64 variables. However my os and computer are both 32bits.
So how can i use int64 as a parameter in a function.
and is int64 a structure as user-defined structures.....
???
thanx
i am waiting for ur answer
you could create a structure with two integer and typedef as unit64,
but the operation you are doing on this data types should be done through some function
like
int64 a = 100 /* will not work */
int64 a;
setValue(&a,..);
for all the operation you need to write the funcitons.because it not a ADT like int.
Recently I was stuck at 64bit questions in 32pc.......
lots of unknown questions came up ....
as mentioned :
messy questions: how to convert a string into a int64 in linux
i tried
ll = atoll(string)
but faild
btw:
ll is defined as :
long long ll = 0;
I print the return like this:... (2 Replies)
Hi, I'm converting a C program that I made using the Visual Studio. I now use GCC (over Linux) and can't find some equivalences. I changed my __int64 definitions to unsigned long long, but can't find an equivalent to the microsoft i64toa() function, which let you convert a char* to a 64 bit... (1 Reply)