Guest User

Untitled

a guest
Apr 26th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. int calc_carre(char **tab, int x, int y)
  2. {
  3. while (tab[y][x])
  4. printf("%d\n", 16);
  5. return 0;
  6. }
  7.  
  8. void walk_on_tab(int size, char **tab, int fd)
  9. {
  10. int x;
  11. int y;
  12. int size_y;
  13. int size_x;
  14.  
  15. size_y = size;
  16. size_x = my_strlen(tab[0]);
  17. for (x = 0, y = 0 ; y < size_y ; y++)
  18. for (x = 0; y < size_x ; x++)
  19. {
  20. if (tab[y][x] == '.')
  21. calc_carre(tab, x, y);
  22. }
  23. }
Add Comment
Please, Sign In to add comment