LNK2019 error, unresolved external symbol
The error verbatim reads 1>yes.obj : error LNK2019: unresolved external symbol "int __cdecl availableMoves(int * const,int (* const)[4],int)" (?availableMoves@@YAHQAHQAY03HH@Z) referenced in function "void __cdecl solveGame(int * const,int (* const)[4])" (?solveGame@@YAXQAHQAY03H@Z) I've never seen this error before. Here are the two functions I believe it's referring to though. int availableMoves(int a[15], int b[36][3],int openSpace){ int count=0; for(int i=0; i<36;i++){ if(i < 36 && b[i][2] == openSpace && isPeg(b[i][0],a) && isPeg(b[i][1],a) ){ count++; } } return count; } and void