prog.cpp: In function ‘int main()’:
prog.cpp:17:22: error: ‘x’ was not declared in this scope
for(int i=1; i<6; ++x) kopia[0][i] = &tab[4][i-1];
^
prog.cpp:18:22: error: ‘x’ was not declared in this scope
for(int i=1; i<6; ++x) kopia[6][i] = &tab[0][i-1];
^
prog.cpp:19:22: error: ‘x’ was not declared in this scope
for(int i=1; i<6; ++x) kopia[i][0] = &tab[i-1][4];
^
prog.cpp:20:22: error: ‘x’ was not declared in this scope
for(int i=1; i<6; ++x) kopia[i][6] = &tab[i-1][0];
^