Ryuketzu

Matriz NxM

Sep 9th, 2014
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. /*|| filas_m ==> número de filas || columnas_m ==> número de columnas || mapa ==> matriz de caracteres ||*/
  2.  
  3. char **mapa = malloc(sizeof(char)*filas_m);
  4. for(i = 0; i < filas_m; i++)
  5.     mapa[i] = malloc(sizeof(char)*columnas_m);
Advertisement
Add Comment
Please, Sign In to add comment