使用C++进行最小二乘法线性拟合,C++ Program to Linear Fit the data using Least Squares Method