0_0_16149522_29979.cpp: In function 'int main()':
0_0_16149522_29979.cpp:32:31: error: invalid types 'char[int]' for array subscript
if((phone[i][j]-'0')!=(phone[i][j+1]-'0')-1)
^
0_0_16149522_29979.cpp:32:52: error: invalid types 'char[int]' for array subscript
if((phone[i][j]-'0')!=(phone[i][j+1]-'0')-1)
^
0_0_16149522_29979.cpp:40:31: error: invalid types 'char[int]' for array subscript
if((phone[i][j]-'0')!=(phone[i][j+1]-'0')+1)
^
0_0_16149522_29979.cpp:40:52: error: invalid types 'char[int]' for array subscript
if((phone[i][j]-'0')!=(phone[i][j+1]-'0')+1)
^
0_0_16149522_29979.cpp:46:27: error: invalid types 'char[int]' for array subscript
c1=(phone[i][3]-'0')*1000+(phone[i][4]-'0')*100+(phone[i][5]-'0')*10+(phone[i][6]-'0');
^
0_0_16149522_29979.cpp:46:50: error: invalid types 'char[int]' for array subscript
c1=(phone[i][3]-'0')*1000+(phone[i][4]-'0')*100+(phone[i][5]-'0')*10+(phone[i][6]-'0');
^
0_0_16149522_29979.cpp:46:72: error: invalid types 'char[int]' for array subscript
c1=(phone[i][3]-'0')*1000+(phone[i][4]-'0')*100+(phone[i][5]-'0')*10+(phone[i][6]-'0');
^
0_0_16149522_29979.cpp:46:93: error: invalid types 'char[int]' for array subscript
c1=(phone[i][3]-'0')*1000+(phone[i][4]-'0')*100+(phone[i][5]-'0')*10+(phone[i][6]-'0');
^
0_0_16149522_29979.cpp:47:27: error: invalid types 'char[int]' for array subscript
c2=(phone[i][7]-'0')*10+(phone[i][8]-'0');
^
0_0_16149522_29979.cpp:47:48: error: invalid types 'char[int]' for array subscript
c2=(phone[i][7]-'0')*10+(phone[i][8]-'0');
^
0_0_16149522_29979.cpp:48:27: error: invalid types 'char[int]' for array subscript
c3=(phone[i][9]-'0')*10+(phone[i][10]-'0');
^
0_0_16149522_29979.cpp:48:49: error: invalid types 'char[int]' for array subscript
c3=(phone[i][9]-'0')*10+(phone[i][10]-'0');
^
|