After surf on the web I have seen some tips on dynamic arrays.
I want to have a private dinamyc QPointF array.
I have to declare it so : ?
QpointF **points_f_array;
and later :
points_f_array = new QpointF *[number_of_points_needed] //
I confuse with :
QpointF *points_f_array[];
By last.... I have to delete every point and by last delete the array itself ?
Is there any easy way to do this ? Maybe a Vector can be easier ?
I feel stupid doing this question, but I can't to write the right code .
Thanks
Bookmarks