Quick noob Q:
This is how i get a draught for P1 and store it under d1 :
Now once its gone through my checks i want to store it in my vector - the number of the draught that is, but i get errors saying :
Draught * d1 = player1->getDraught(i);
1: Cannot convert 'Draught *' to 'int' in function
2: Error E2342 Game.cpp 231: Type mismatch in parameter 'x' (wanted 'const int &',
got 'Draught *') in function Game::move(Square *,Draught *)
i kno i ve made a noob mistake... any help??