if(player!=NULL)
player->shuffled();
I do such things to avoid passing a null reference to a string constructor, but when compiling it still comes to error.
Somewhere, somehow, you're calling the std::string
constructor with the const char*
value NULL.
To avoid the problem. Don't do that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With