Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.comp.os.windows-xp    |    Actually wasn't too bad for a M$-OS    |    17,273 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 17,117 of 17,273    |
|    R.Wieser to All    |
|    wsprintf I64 - how to get it to include     |
|    07 Jan 26 09:35:45    |
      XPost: comp.os.ms-windows.programmer.win32, alt.windows7.general       From: address@is.invalid              Hello all,              OS XPsp3 :              I'm using wsprintfA (user32) with the format-string "%010I64d" to output       a provided 64-bit number. Which works.              The thing is that I would like to see a "+" sign for the positive numbers,       and I can't seem to do it. No matter where I put a "+" symbol in the format       string the output breaks.              Question : is there a way to get wsprintfA to include a plus sign when       displaying decimal numbers, and if so what is it ?              Remark : I've also tried sprintf (crtdll), but it doesn't seem to understand       either "%I64d" or "%lld".              Remark #2 : wsprintfA doesn't understand "%+d" either. :-|              Regards,       Rudy Wieser              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca