Hi guys!
I'm starting to develop my first game, and I need the user to enter his/her age before the game itself starts, as I need the age to calculate other game parameters.
The numbers entered are being stored in an sf::String, so that they can be displayed, but I don't know
how to convert them from sf::String to int.
At first I thought about using an std::string and then converting to int with atoi, but I'm not sure I can display text if it's not of type sf::String
.
Any ideas?