void m(float x[])
{
float max;
int i;
max=x[0];
for(i=1;i<10;i++)
{
if(max<=x[i])
{
max=x[i];
}
}
return max;
}
void threshod(float *data)
{ int i,N=70;
float SPKI;
for (i=0;i<N;i++)
{SPKI=m(data[i]);} //这句话报错function' : cannot convert from 'float' to 'float *
//''void' illegal with all types
慕雪6442864
鸿蒙传说
相关分类