View Single Post
  #2 (permalink)  
Old 04-07-2008, 04:05 AM
daigre7 daigre7 is offline
Member
 
Join Date: Apr 2008
Posts: 2
daigre7 is on a distinguished road
BTW, we're learning about ArrayLists now, but we can't use them for this HW. He wants us to learn how to do something like this without it.

I know that to remove an element in an array you have to do something like shift everything with a higher index to the left and then transfer what you want to a new array of size one less than the original, but I have trouble figuring out the code that does that. Just read the part before my code and let me know how you would go about writing such a method.
Reply With Quote