you need to use a pointer char *word = “Hello”
spiff88 wrote:> When using TTF lib Im having trouble using a variable to change text for instance:
char word = “Hello”;
Surf_Text = TTF_RenderText_Solid(Font, word, TextColor);It gives me problems everytime something about a char cant be converted to a const char
Im relatively new so maybe I’m just going about this the wrong way help would be appreciated