Home > Back-end >  To solve - novice C language
To solve - novice C language

Time:10-08

Why define this function after a call has been wrong:
The error C2664: 'xn: always convert parameter 2 from' double (__cdecl *) (int, double [], a double []) 'to' double [] '
O bosses door help!!!!!!!!!!


//define the discrete convolution,
Double xn (double x [], a double Rt [], a double Rt [], int L)
{
int i,j;
For (I=1; I<51. I++)
{
Double sum=0.0;
for(j=1; J<=L; J++)
{
If (I - j>=0 & amp; & I - j<51)
Sum rt +=rt [j] * [I - j];
}
[I] x=sum;
}
return 0;
}

CodePudding user response:

Call part code?
Which prompt error is when you call to form parameters, and inconsistencies in the form of this definition

CodePudding user response:

Errors is you the function pointer to the array, what do you call xn, the calling code also posted

CodePudding user response:

Calling code to come out
  • Related