My specific question is: how do I fix this problem:
Code:
if(whitepiece[index].jumpup(xposition2, yposition2, matrix) == 0 && whitepiece[index].moveup(xposition2, yposition2, matrix == 0))
C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\MYPROJECTS\SnSCheckers\main.cpp(173) : error C2664: 'moveup' : cannot convert parameter 3 from 'bool' to 'int [][8]'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
the .moveup and .jumpup functions return a bool and the matrix is [int][int].
And in general, when does one need to typecast?