Ver Mensaje Individual
  #4 (permalink)  
Antiguo 15/04/2012, 13:22
vani18
 
Fecha de Ingreso: junio-2010
Mensajes: 752
Antigüedad: 13 años, 10 meses
Puntos: 5
Respuesta: duda simple de funciones

Cita:
Iniciado por sam90 Ver Mensaje
Ademas tenes que pasar un arreglo y no un entero:

Código C++:
Ver original
  1. inici(v);
  2.  
  3.  
  4. -----------------------------------
  5.  
  6. void inici(int * v)
  7.  
  8. {
  9.     for(i=0;i<10;i++)    
  10.     {
  11.           v[i]=0;
  12.    
  13.      }
  14. }


void inici(int * v) en esta parte... ese asterisco , es un puntero??? recien estoy leyendo algo de eso...