home *** CD-ROM | disk | FTP | other *** search
/ ftp.disi.unige.it / 2015-02-11.ftp.disi.unige.it.tar / ftp.disi.unige.it / pub / .person / CataniaB / teach-act / esempi / Comp-Sep / input.h < prev    next >
Text File  |  1997-04-19  |  362b  |  21 lines

  1. /* Labirinto: Matrice, Ingresso e Uscita Definite con macro
  2.  * uso uno stack per memorizzare il cammino seguito
  3.    (se non mi posso muovere torno al top dello stack).
  4. */
  5.  
  6. #define DIM  4
  7. #define MAX  100
  8.  
  9. #define InX  0
  10. #define InY  0
  11.  
  12. #define OutX 3
  13. #define OutY 3
  14.  
  15. #define true 1
  16. #define false 0
  17.  
  18. int laby[DIM][DIM]={{1,1,0,0},{0,1,1,0},{0,1,1,0},{0,0,0,0}};
  19.  
  20.  
  21.