The function is as follows:
void Runthrough(double * from, double * to, double * when, double * howmuch)
{
nflows += 1;
if (nflows > LENFST)
{ /* Stack Overflow */
Application->MessageBox("Error occurred.", MB_OK);
return;
}
else
{ /* Store the arguments in the stack */
flowstack[nflows].from = from;
flowstack[nflows].to = to;
flowstack[nflows].when = *when;
flowstack[nflows].amt = *howmuch;
}
return;
}
when I call in the main program: Runthrough(a1,b1,time,amount), a1,b1,time,amount
all defined as double, I got error message:
incompatible conversion, type mismatch, and cannot convert "long[*][long]" to "double". I don't use array here.
Can any one help to find the problem?
Thx,