I've been trying to do this program which I put it down. it always gives an error: cannot convert `double (*)[5]' to `int*' for argument `1' to `void sort(int*, double)'|
The error says it all, just because it has special characters i.e. characters that are not letters or numbers, is no reason to panic. When you declare and define sort you are telling it to expect an int, but you are passing it a double. Fix that and you're good.
first of all thank you very much for your helping, but I didnt understand that what I must change b/c I have been studying on this project for a long time, but ,unfortuanetely, I couldnt find my error I converted int to double or double to int but always a fault. also I must do it double, b/c the averages are not int. could you say what I must fix, please??
ohhh, I also did it , but if I do like that I have an extra warning(error: cannot convert `double (*)[5]' to `double*' for argument `1' to `void sort(double*, double) In function `void sort(double*, double) warning: converting to `int' from `double'|
||=== Build finished: 1 errors, 1 warnings )
the problem is not that,unfortunately:( what should I do??