Hi I have a question I have one variable char array and one constant char array. I am looking to compare the two arrays to see if they match. this is what I have now.
int g=0;
for(int i=0;i<101;i++)
{
if(board==finalBoard)
g=1;
else
{
g=0;
break;
}
}
any ideas on what I am doing wrong?
int g=0;
for(int i=0;i<101;i++)
{
if(board==finalBoard)
g=1;
else
{
g=0;
break;
}
}
any ideas on what I am doing wrong?