Advertisement
ibanezzaro

Untitled

Jan 18th, 2016
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. void find_entrance_sides ()
  2. {
  3.     int flag = 0;
  4.  
  5.     for(j = 0; j < maxColonna; j+=maxColonna - 1){
  6.         for(i = 0; i < maxRiga; i++){
  7.             finding_point();
  8.  
  9. void finding_point () {
  10.     if(labyrinth[i][j] == '.') {
  11.                         printf("Found the entrance\n");
  12.                         labyrinth[i][j] = 'X';
  13.                         flag++;
  14.                         print_maze();
  15.                 }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement