🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Lesson 17 and variables...
How should I do to print variables with Nehe''s tutorial 17
about 2D Texture fonts?
I have tried for a while now and can''t get it to work.
using the glPrint func ??
int var = 6;
char mystr[256];
sprintf( mystr, "var is: %i", var );
glPrint( x, y, mystr, 0);
int var = 6;
char mystr[256];
sprintf( mystr, "var is: %i", var );
glPrint( x, y, mystr, 0);
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement