|
private char [,] c = new char [3,3];
private void getnext ()
{
int i = 0;
int j = 0;
int a, b, c, d;
int m_i;
for (int p = 0; p <3; p ++) {
for (int q = 0; q <3; q ++)
{
if (c [p, q] == 'x') // Error here, error: E:\Documents and Settings\reeves\My Documents\Visual Studio Projects\Eight Digital\Form1.cs (287): Cannot apply index with [] to "int" Type of expression
{
i = p; j = q;
}
}
}
Master |
|