In my game I would like to have a int (the lives the player has) and be able to change this number with my functions and then in each frame display the 'new' number. I haven't worked on the function to change the number yet.
Basically I would like to display the int on screen with SFML: sf::Text lives;
However, that requires the number to be a string. I was wondering how do I convert the int to a string so i can display it?