Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int x1 = 0, y1 = 10;
- while (j < (largeur*longueur)) {
- if (x1 < largeur) {
- i = j;
- if ((y1+x1) == coord[i]) {
- cout << '*';
- } else { cout << ' '; }
- ++x1;
- } else {
- x1 =0;
- y1 += 10;
- }
- ++j;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement