Posted by Daniel Longest on March 20, 2001 at 17:05:37:
In Reply to: Array Shifting posted by Juan Romero Jr. on March 20, 2001 at 15:29:13:
That depends a lot on how you have implemented some of your functions. If it's easier for you to do it without shifting, then go for it, as long as it does what it's supposed to do, keep things in sorted order.
: If I understand right, after the arrays are created, thier size will be fixed, for example, if we have 25 elements in an array, it will never be larger than 25 elements?? So in deleting an element that occurs at index 14, do we shift all the other array elements down to fill in the 14th location, or do we delete the data in that element, and leave it empty?
Post a Followup