I have made pong game in sdl and i have tried to dynamically change the ttf font for example for incrementing score but it gives error , now i have option of blitting multiple images on screen like animation for score which is so tiring and tedious , is there a way around it
1 2 3
text = TTF_RenderText_Solid(font, "Hello World", color3);//instead of this
string s ="1";
text = TTF_RenderText_Solid(font, s, color3);//why can't i try this or is there another way