How would I set an sf::Text to hold an int variable so when I draw the Text to the screen it would output my integer, the reason I don't want to just set it to a String that stores "1" is because I want to be able to change and display new values stored in this Text.
I have read the documentation of the sf::Text class and had a play around with the Text class in my IDE and still haven't figured this out.
Would anyone be able to help me out? Thanks.