Nov 13, 2013 at 9:05pm
Can I delete an element in Dynamic Array ?
if so how to do ?
Nov 13, 2013 at 9:08pm
Can I delete an element in Dynamic Array ?
|
no
what you can do is make a second Dynamic Array copy what you want into it and then delete the first array.
or you could use vector
Last edited on Nov 13, 2013 at 11:38pm
Nov 13, 2013 at 11:29pm
Just use a vector, dynamic pointers are evil. (Well, not really, but they're error-prone).