05-01-2007 08:02 AM
Yes that is it!
To make an image viewable....
WE have asked that be improved but...
1) Once you have posted your response, click on your jpg to open the jpg in a new screen.
2) Copy the URL
3) Return to your post and edit it.
4) Position your cursor were the image should appear them clcik the "insert Image" button (looks like mountains) and paste in the URL from step #2.
5) Submit you modified post.
Ben
05-01-2007 08:08 AM
05-01-2007 08:43 AM
sture,
The implementation shown has one drawback, it moves the first searched digit to the end of the final array. I don't know if that would be acceptable since we were asked to just remove duplicates. How can you prevent the reorder of the first searched digit to the end of the array?
Tom
05-01-2007 08:45 AM
" it moves the first searched digit to the end of the final array"
does getting rid of the "increment" after the loop help?
Ben
05-01-2007 08:49 AM
05-01-2007 08:54 AM
No, that needs to be there in order to get all the required points.
Tom
05-01-2007 08:58 AM
"does getting rid of the "increment" after the loop help?"
If I initialize the array with a zero rather than the first number in the original array AND remove the final increment, it does work -- unless zero is one of the elements!
Tom
05-01-2007 09:18 AM
05-01-2007 09:24 AM - edited 05-01-2007 09:24 AM
Here is a revision that I think will work.
Ben
Message Edited by Ben on 05-01-2007 09:25 AM
05-01-2007 10:01 AM