Code:
class Player
{
private:
/*......*/
void UserThread(){
std::cout << "Player connected and started the Thread!" << std::endl;
};
/*......*/
public:
/*......*/
void StartThread()
{_beginthread(this->UserThread, 0,0);};
/*......*/
};






