char puzzle[i][j];
int i,j,count=0;
char value[81];
for( i = 0; i < 9; i++){
for( j = 0; j < 9; j++){
cin >> value[count];
puzzle[i][j] = value[count];
count++;
}}
This what I have so far. I tried using atoi but I needed a char * str.
The input is: ..4545.. (numbers and periods)
I'm trying to convert the char puzzle[i][j] to an int puzzle[i][j]. The char array currently holds "..4545.." and I want to covert it so it holds just integers "00454500".