I believe you simply need to change lines 47 and 48 to the following:
float *x = new float[numL];
float *y = new float[numL];
Note: I have not tested this.
I believe you simply need to change lines 47 and 48 to the following:
float *x = new float[numL];
float *y = new float[numL];
Note: I have not tested this.