Charliec2uk
Programmer
I have a created a dyamic array:
double *torque_array = new double [range];
where range is a value passed from the Gui.
Am trying to then trying to get a function to put values in this a array, (about 1500 values) by passing it as a pointer. How ever this doesn't work. I would be really grateful for some assitance on this. If possible a basic example would be so helpful.
Many thanks
double *torque_array = new double [range];
where range is a value passed from the Gui.
Am trying to then trying to get a function to put values in this a array, (about 1500 values) by passing it as a pointer. How ever this doesn't work. I would be really grateful for some assitance on this. If possible a basic example would be so helpful.
Many thanks