Code:
#include <iostream.h>
#define altura 10
#define largura 4
int main()
{
int i,j,pares=0;
int jogo [altura][largura];
for (j=1;j<=largura;j++)
cout<<"\t"<<j<<"";
cout<<"\n\t";
for (i=1;i<=altura;i++)
cout<<"\t\n"<<i<<"\t[x]\t[x]\t[x]\t[x]"<<"";
cout<<"\n\t\n";
system("pause");
}
I have started like this, now i have to put 20 pares of 1,2,3 etc, behind the [X] and when the player chose the coordenates the [x] turns and shows the number behind.