This part of my code runs in an infinite loop and shows a number, but I need to empty the string after the use because, since it run in a loop, its keep being multiplied. (Sorry for my english, it's not my native language)
text ---> text text ----> text text text
cartemap << "Carte: " << currentmap; //cartemap is a std:string currentmap a integer'
MESSAGE1 = TTF_RenderText_Solid( font, cartemap.str().c_str() , noir );
apply_surface( 70, 70, MESSAGE1, SCREEN );
SDL_FreeSurface(MESSAGE1);