Have a problem initializing my arra with '*' and then when I cin a X should be put in that row and column of the array.instead I get 42 for the '*' and 88 for the 'x'
here is part of my code.
int main()
{
int row;
char seat;
for (row = 1; row < 13; row ++)
for (col = 1; col < 6; col++)
matrix[row][seat] = '*'
.......
I've tried putting this code before and after a switch statement so the char is changed to a number but still can't get to work.