Re: Array Shifting


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

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.

Daniel

: 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?

: Thanks,
: Juan




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]