Original Post
how would i convert an int to const char* i need to do this because im using the SDL_TTF extention library to render text. i have my to scores(int) and i have my two surfaces(SDL_Surface*) the
TTF_RenderText_Solid function needs const char* EDIT: the error im getting is this: main.cpp(143) : error C2664: 'TTF_RenderText_Solid' : cannot convert parameter 2 from 'int' to 'const char *'
with this code: lscore_spr = TTF_RenderText_Solid(font, lscore, textColor);