Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/06/2003, 10:42
wcoloma
 
Fecha de Ingreso: junio-2003
Mensajes: 1
Antigüedad: 21 años, 9 meses
Puntos: 0
Sonrisa

aqui tienes una funcion para imprimir la matriz

void EscribirMatriz(int m[NUMFILAS][NUMCOLUMNAS])
{

int i,j;

for (i=0; i<NUMFILAS; i++) // ciclo for recorre las filas
{
// escribimos la fila i
for (j=0; j<NUMCOLUMNAS; j++) // ciclo for recorre las columnas
{
printf("%d\t", m[i][j]);
}
printf("\n");
}
printf("\n\n");
}