An RPG is a role-playing game, and in these games, there are usually battles in which the hero and monsters take turns to stage attacks and use items. These attacks and items have stats that affect them in some way.
The code is written in CPP. Use a C++ IDE to run the code.