New course! Every coder should learn Generative AI!
Try a free lesson+ 3
There are lots of mistakes in your code sir , like you are passing a char** into RandRole as Player* .
And i could help you if you explain me better about what you are trying to do ( Your problem statement ).