ok...i'm having trouble changing a value in a array into a character
void gameon(int **game,int &size,int &x,int &y,int &score1,int &score2)
{
int i,j,num1,num2;
cout<<"Please enter a number from the selected row/column -->";
cin>>num1;
for(j=0;j<size;j++)
{
if(num1==game[x][j])
{
cout<<"Number found"<<endl;
game[x][j]=='X';
score1=score1+num1;
y=j;
}
}
display(game,size,score1,score2);
}
i can't seem to change that specific number into 'X'..
can u guys help me out...