Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int** z= new int *[wB];
- for (int j = 0; j < 8; j ++)
- {
- z[j] = new int[wB];
- }
- for (int n=0; n<8; ++n)
- {
- for(int m=0;m<wB;++m)
- {
- int x=n%4;
- int y=x*wB;
- int p=(*(B+(y+m)));
- z[n][m]=p;
- }
- }
- return z;
- int** z= new int *[wB];
- for (int j = 0; j < 8; j ++)
- {
- z[j] = new int[wB];
- }
- for (int n=0; n<8; ++n)
- {
- for(int m=0;m<wB;++m)
- {
- int x=n%4;
- int y=x*wB;
- int p=(*(B+(y+m)));
- z[6][m]=p;
- }
- return z;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement