Hello, - jazgara@un1
what type is H ?
Your function definition starts with:
void Aga(double x, double lc, double d, double w, double alfa, double A)
{
.....
return H;
}
void tells the compiler, that there is no variable given back to the calling routine.
the function call should be:
e.g. H is type float:
float Aga(double x, double lc, double d, double w, double alfa, double A)
{
.....
return H;
}
Hope this helps
-- --
Dipl.-Ing. Hans-Joerg Koch
Siemens VDO, Regensburg
SVDO_Origin1