User Profile
Collapse
-
Thanks for the help. I suppose I need to use I64u for unsigned 64 bit integer. Is I64d for signed 64 bit integer? Thanks.... -
How to print 64 bit integer using sprintf() family
I have a need to print 64 bit integer in Windows and UNIX environments.
Code Snipet:
unsigned __int64 mNumRowsRead=12 34567890123456;
sprintf(buf, "%d row(s) read", mNumRowsRead);
sprintf(buf, "%s row(s) read", mNumRowsRead);
sprintf_s(buf, "%d row(s) read", mNumRowsRead);
itoa(mNumRowsRe ad,buff2,10);
cout <<...
No activity results to display
Show More
Leave a comment: