En el main tengo esto:
do
{
/* Leer linea por linea*/
/* if(c != NULL){*/
c
=fgets(palabra
,130, fitxategi_ptr
); numfilas1++;
if(c != NULL)
{
while(i<len)
{
j= len+1;
if(c[i]== '/' && c[i+1] == '/')
{
while(j>i)
{
c[j] = c[j-1];
j--;
}
c[i+1] = ' ';
}
i++;
}
i=0;
ret = split(c,sep1);
while (h<=19)
{
matriz[w][h]=ret[h];
h++;
}
h=0;
w++;
}
}
while (c != NULL);
char **x19[numfilas];
while (kontx < numfilas)
{
x19[kontx] = matriz[kontx][18];
kontx++;
}
thta(numfilas,&x19, &th, &ta);
y la funcion thta:
double thta (int lerrokop, char ** x19, double *th, double *ta)
{
Aqui tengo que hacer calculos con los numeros que contiene x19
}
Gracias!!!!