Original Post
I'm using ID3DXFont::DrawText to draw text on screen. Everything works fine when I'm writing strings, but how do I display variable values? I'm a bit confused because DrawText expects a pointer to the string it needs to diplay, and I want to write numbers (for example: time, points, lives...). Is there any way to convert an integer or float to a string?