Tu scrivi:
codice:
# define m>1
...
for(j=0;j<m;j++)
Il compilatore capisce:

codice:
for(j=0;j<>1;j++)
E quindi ti spernacchia, cambia quel define...