Is there another version of TextOut() which concerns integers instead of strings?
Is there another version of TextOut() which concerns integers instead of strings?
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........