How do you add to something in a save file?

0 votes
asked Mar 15 by A coder in need
I am making a game where the user has to guess a word and every time they win,  a win counter in a save file will increase by one. Please explain how, when the user joins and plays for the first time, the win counter in the save file will be 0 and once they win, the win counter goes up to 1.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.