Clearing array

  • Thread starter Thread starter ollp
  • Start date Start date
O

ollp

Guest
Hi all.

Is there a better (faster) way to zero arrays. Then using a for loop.


array<PointF>^ nose = gcnew array<PointF>(360);


for (int i = 0; i < 360; i++) {

nose= PontF(0.,0.);

}




delete [] nose; // wont work sens they are global and need to be reused


They are also used for drawing in Picturebox


thank you

Continue reading...
 
Back
Top