Hi,
I thought that I had been through this before, but perhaps I'm forgetting what I did . Now I get "(27): error #2091: Missing array size."
If I put the array sizes in the prototypes, it also wants them in the actual function. This is Pelles C.
I vaguely remember using function prototypes like this before -- without putting in any sizes for the arrays. I followed some reference and it was all good.
void sortlohi(int[][],int);
void std_dev(int[][],int,float[]);
The arrays are declared in main and passed to the function
int ddt_ctrm[2][5000];//combo trim
float rslt[10]; //array to return std dev results
sortlohi((ddt_ctrm,lncnthi);
std_dev(ddt_ctrm,lncnthi,rslt);
void sortlohi(int data_4_sort[][],int count0)
{
//bubble sort
}
void std_dev(int data_4_sdev[][],int count,float rslt1[])
{
}
Thanks,
hj