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
添加回答
举报
0/150
提交
取消