Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(taille==1)
- dim=10;
- else if(taille==2)
- dim=15;
- else
- cin>>dim;
- terrain = (int **)malloc(dim * sizeof(int));
- for(i=0 ; i<dim ; i++)
- {
- terrain[i] = (int *)malloc(dim * sizeof(int));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement