loops - How to delete an element from an array, which is in looping ? -
The following is a psuedo-code example of what I'm trying to do: I have a loop on an array and based on a condition:
There is a simple solution for this problem, before the last element the loop.
i = For the size (myArray): 1 if my array (i) == some value is removed (myArray, i)
Comments
Post a Comment