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