How can I do that? Are there any standard functions I can use, or I have to make my own functions for that.
How can I do that? Are there any standard functions I can use, or I have to make my own functions for that.
"The Internet treats censorship as damage and routes around it." - John Gilmore
Dev-C++ (MinGW).
"The Internet treats censorship as damage and routes around it." - John Gilmore
Well I don't know without testing, but if iostream's do not work for the conversions, then you can test cstdio functions with formatting flags %lld %llu %I64d %I64u.
I found _atoi64() and _i64toa().
"The Internet treats censorship as damage and routes around it." - John Gilmore
__int64 is not standard (nor is long long); there is no standard way to convert to a nonstandard type.
There is also no standard integral type guaranteed to be 64 bits or larger.
Last edited by Cat; 11-23-2006 at 02:49 AM.
You ever try a pink golf ball, Wally? Why, the wind shear on a pink ball alone can take the head clean off a 90 pound midget at 300 yards.