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]);} //這句話報(bào)錯(cuò)function' : cannot convert from 'float' to 'float *//''void' illegal with all types
以下這兩個(gè)錯(cuò),SPKI是70個(gè)值最大值,這怎么改???求教
30秒到達(dá)戰(zhàn)場(chǎng)
2022-07-27 16:15:42