Thread: ordering arrays
View Single Post
Join Date: Mar 2008
Posts: 63
Reputation: 666kennedy is an unknown quantity at this point 
Solved Threads: 0
666kennedy 666kennedy is offline Offline
Junior Poster in Training

Re: ordering arrays

 
0
  #9
Nov 21st, 2008
cheers that helps a bit,

basically what your doing is calling one of the elements in error the lowest until something else comes along which is lower, so basically adding on a number to each one thats lower and adding one for each thats bigger kind of thing?

i was thinking of adding a few more dimensions to the arrays

with error i would add another dimension which would put a number 0 to 15 along side the error depending on the position it comes

i already have 0 to 15 as row numbers, i could add another dimension to keep new position in, which would co inside with the error arrays new number order.

but apart from that making it easy for me to read i need to be able to swap them all around puting 0 (or number1) at the top and the worst at the bottom.

i take it i would need a temporary place to store the file being moved until a place in the array has become available?

i kind of know the logic towards it, its just trying to put into code in a way i understand it is the hard part
Reply With Quote