I have a Player class and a Game class.
My Game.cpp has has a setPlayers
method. It compiles without an error but when I use it in my main, it doesn't work and gives me segment
I have a Player class and a Game class.
My Game.cpp has has a setPlayers
method. It compiles without an error but when I use it in my main, it doesn't work and gives me segment,c++,oop"/>