Ver Mensaje Individual
  #4 (permalink)  
Antiguo 04/05/2004, 23:14
MuoX
 
Fecha de Ingreso: mayo-2004
Ubicación: Trelew
Mensajes: 1
Antigüedad: 20 años
Puntos: 0
si estás trabajando en C puedes hacer
//-------------------------
int n;
int **matriz;
scanf("%d",s);
if ((matriz = (int**) malloc(sizeof(int)*n*n)) == NULL )
printf("Error! No hay memoria suficiente");
//-------------------------