#include #include "fit.hh" // contains prototypes of get_data, do_fit. const int MAX_POINTS=100; int num_points; double z[MAX_POINTS], n[MAX_POINTS]; int main() { get_data (&num_points, z, n); // passed to fcn as extern for (int i=0; i