PDA

View Full Version : function check attack n-queen



tayakorna
July 30th, 2010, 06:38 AM
I write program q-n Queen but I can't write function check attack n-queen.
Function check attack n-queen must recieve value is Array 2-dimensional ,size is is site of array such as
static int checkAttack(char[,] A,int size)
{
...

return 0; //if attack is occur
return 1; //not attack
}


Please Help ME!!!

Some Penguin
July 30th, 2010, 06:54 AM
http://ubuntuforums.org/showthread.php?t=717011