So currently I have a working code that is able to read in a text file that contains a 9x9 board each slot in the 2D array is a number between 1-9; however, some slots have a '-' character mixed into them randomly. The only way I found that I could read all the lines successfully and then print them was using a `char sudoku[9][9]` but this greatly affects other parts of my current assignment.

The file should just be 9 consecutive rows like so:

```
123-56-89
4561-3--9

```

etc...

Could someone show me a way I could successfully scan in the text file contents into a INTEGER 2D array instead of a char one?

```
int main(){
 int i, j;
 char sudoku[9][9];
    char filename[100];

        printf("Please enter file name (W/O .txt): ");
        scanf("%s", filename);

        FILE *file1 = fopen(filename, "r");

        for(i=0;i<9;i++){
            for(j=0;j<9;j++){
                fscanf(file1,"%c\t", &sudoku[i][j]);
            }
        }

        for(i=0;i<9;i++){
            for(j=0;j<9;j++){
                printf("%2c", sudoku[i][j]);
                }
            printf("\n");
        }

fclose(file1);
}

```