|
-
March 19th, 2012, 05:50 AM
#1
TicTacToe
Constantly getting the same errors, but unable to fix it! Please help.
part of my .cpp file
[/code]
int TTT::getMatSum()
{
if ((matSum(matrix , 3))==90)
return 1;
else
return 0;
}
[code]
The error code I'm getting is:
erroe C2664 TTT:matSum' : cannot convert parameter 1 from 'int[3][3] to int [][3]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|