prolly very stupid question
hi all, i calculated my framerate. The problem is it''s an int, or float, or whatever i want, just not *char[]. Which is what my font output wants.
Is there a simple way to convert it?
Thanx,
Marty
I love sprintf()
char szText[80];sprintf(szText, "Current frame rate: %.1f", fps);DrawText(szText);etc..
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement