Lotta stuff to unpack here.
#1: Your Player::create method is pretty much a constructor. Maybe make it into one?
#2: You leak an array of 10 players by never doing
delete [] players;
anywhere in your program. While not an issue for a small program like this, it should still be fixed. Please consider using smart pointers (or std::vector, especially here) in the future.
#3:
answer=='y' || answer=='n'
will be true when answer is either y or n, meaning you have this behavior exactly the opposite of what you want. When your loop exits, neither of the following if statements will run.
#4: So, I assume you want your program to be able to store up to 10 players. As it is now, though, it will only ever read 1 because most of it isn't inside a loop. Also, you only ever print out the stats of the first player.
#5: That said, it should still print out your 0th player's stats if you enter something that isn't y or n. They'll just look something like this:
Name:
HP: 0
Str: 0
LVL: 0
EXP: 0/0
|
Do you not see that?
-Albatross