lundi 9 mai 2022

How do i save my game data to a file and then if the user open the .exe again, the data will be the last data that he/she saved? [closed]

So i want to make a rpg game that based on C++. But now i have an issue with saving the data of the game. How do i solve it? (Problem : Saving the data of the items, hp, and so on)

    string name;
    int kelas;
    int mode;
    string item;
    string item2;
    string hp;
    string mana;
//Data that i want to save

Aucun commentaire:

Enregistrer un commentaire