only 2 errors. plz help

void ascend( float resAr[], int size)
{
//local data
int minSub; //subscript of smallest item located

int n = MAX_SIZE - 1;
for( int i = 0 ; i < n; i++)
{
minSub = findIndexOfMin( resAr, i, n); //find smallest item in
//array resAr

exchange(resAr[minSub],resAr[i]); //switch values of minSub and i
}

}

my two errors are:

error C2660: 'findIndexOfMin' : function does not take 3 arguments
error C2660: 'exchange' : function does not take 2 arguments


please help on how to clear these two up
The two function calls you are making are not giving the correct number of arguments to the called functions.
Topic archived. No new replies allowed.