The code is as follows...
#include <stdio.h>
#define MAXEL 10
double find_max(double [], double);
double find_min(double [], double);
double get_min_range(double list[], double first, double...
Type: Posts; User: Crankit211
The code is as follows...
#include <stdio.h>
#define MAXEL 10
double find_max(double [], double);
double find_min(double [], double);
double get_min_range(double list[], double first, double...
What is a segmentation error and what are some possible causes? I'll post code, if necessary, but I not asking for someone to do my troubleshooting.
My program needs to read double numbers from an input file and store them in an array. I've written the code and tested several functions using an array in the main program. Now I need to adapt the...
Thanks Prelude, your suggestions guided me to the answer. You found the sorting problem and after a little rearrangement of the printf placement, the program works without a hitch. Here's the...
I tried the new code and a couple of variations but all I output is a screen full of 5's. There appears to be an endless loop occuring. Any ideas? Anybody?
I've checked the FAQ's, text and several web sites and can't seem to find much on selection sorting. I've gotten my program to compile, but my output is not correct on one of the functions. Any...