Is there another version of TextOut() which concerns integers instead of strings?
This is a discussion on TextOut() within the Windows Programming forums, part of the Platform Specific Boards category; Is there another version of TextOut() which concerns integers instead of strings?...
Is there another version of TextOut() which concerns integers instead of strings?
Please direct all complaints regarding this post to the nearest brick wallHave a nice day.
Rarely use that kind of call, but I'm not aware of any. Use sprintf() to write your integers into a string, you'll get better formatting possibilities.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
If it's a Win32 function you're after, use wsprintf (sprintf is from the C runtime library), or you could use FormatMessage in some way (don't ask me how)
If you use MFC, try
CString::Format().
It can be used like printf........