How can I print Integers with TextOut?,
Members - Reputation: 122
Posted 08 August 2001 - 04:13 AM
char buffer; // Make it large enough to hold any number you want to print
sprintf(buffer, "%i", score);
TextOut(hDC, 50, 50, buffer, sizeof(buffer));
Hope that helps.
Dirk "Scarab" Gerrits
''If knowledge is power, than to be unknown is to be unconquerable.''
- Unknown Romulan Centurion