|
-
Dec 14th, 2011, 11:02 PM
#2
Re: Bubble Sorting an Array?!?!
Ho hum, if you don't add enough values in to the List (you're not actually sorting an array, you realise?) you'll get that error. If you add too many values to the List, the end of it won't be sorted.
You've got a hard-coded number of elements that you're trying to sort. But you have a variable length data set that you're sorting. Not happy bed-fellows.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|