Original Post
Hi
I´m a beginner at this so this might sound easy, but I can´t figure it out.
I would like to write the score in a game with two players.
The player info together with the score is stored in a class.
To write the score to the surface I need to convert the int to a char* (I think).
It works when I DON`T use the class.
---
score=10;
sprintf(buffer," %d",score);
Draw_Text(buffer,120,580,Player1._color,lpDDSPrimary,font);
---
How do I make it work using a class ?