Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int i = 0; i < 2*n-1 ; i++){
- for(int j=0; j < 4*m-3;j++){
- if ( (i%2 == 0) && (j%4 == 0) ){
- if ( (i/2 == start/m) && (j/4 == start%m))
- rysunek[i][j] = 'P';
- else if ( (i/2 == (koniec/m)) && (j/4 == koniec%m))
- rysunek[i][j] = 'K';
- else
- rysunek[i][j] = '.';
- }
- else if(rysunek[i][j]== '-'){
- rysunek[i][j] = '_';
- }
- //cout << rysunek[i][j];
- }
- //cout << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement