Advertisement
Guest User

Untitled

a guest
Dec 1st, 2015
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1.  
  2. for (int s = 0; s < wysokosc * szerokosc; s++) //dla każdego otrzymanego numeru
  3. int numerSegmentu = numerySegmentow[s];
  4. int x = ?; //wyznaczamy offset czyli przesunięcie wpisywania
  5. int y = ?;
  6. for (int a = 0; a < W; a++) //tu już podwójna pętla wpisująca konkretny segment
  7. for (int b = 0; b < W; b++)
  8. plansza[?(a,x,W)][?(b,y,W)] = segmenty[numerSegmentu][a][b];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement