frog
snowstorrm
 
 
mrvn enjoyer
Comentarii
strawberry fanta 22 apr. 2024 la 15:50 
explode
ICreateThunder 21 mai 2020 la 17:49 
C++

[Header file]
class Player
{
public:
// Constructor
Player(int health, int skill);
private:
// Attributes for player
int Health;
int Skill;
}

[Source file]

Player::Player(int health, int skill) : Health(health), Skill(skill)
{

}

[Main file]
Player snow = Player(200, 9001);

[Message]
+ Rep. Good player! I like the profile BIO (If you couldn't tell). Skill is over 9000.