I try to convert unsigned long long to string like this
unsigned long long Data = 12;
char Str[20];
sprintf(Str, "%lld",Data);
when i want to see but i always see 00
Str[0],Str[1]....;
whats the wrong !!!
In most cases, %llu should do the trick. But you might have to use %I64u on some Windows platforms.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With