diff options
Implemented overall functionality for yesterdays practice exercise
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | Year 1/Object-oriented Programming/07-Practice-05.04.2022/Player.cpp | 2 |
diff --git a/Year 1/Object-oriented Programming/07-Practice-05.04.2022/Player.cpp b/Year 1/Object-oriented Programming/07-Practice-05.04.2022/Player.cpp index eaca839..cb76553 100644 --- a/Year 1/Object-oriented Programming/07-Practice-05.04.2022/Player.cpp +++ b/Year 1/Object-oriented Programming/07-Practice-05.04.2022/Player.cpp @@ -23,7 +23,7 @@ bool Player::isValidPassword(const char* passwordAttempt) { /* Public */ -Player::Player(const char* name, const char* pass, unsigned age, double currentBalance) { +Player::Player(const char* name, const char* pass, unsigned age, double balance) { this->name = new char[strlen(name) + 1]; strcpy(this->name, name); this->pass = new char[strlen(pass) + 1]; |
