marco_c:
You should pass Collection on its own. The array name (reference) is already a pointer to the array.
This is what I did originally but then the following error was given:
29: error: cannot convert 'Point ()[2]' to 'Point' for argument '1' to 'void leastSqrRegression(Point*, int)'
leastSqrRegression(Collection, 6);
Ric