A
andrews
Hi,
I have a problem
I have a array as single ar1(N) and a multidimentional array ar2(N,2) as
structurename.
structure structurename
x as integer
y as integer
end structure
ar1(i) has a relation with ar2(i,1).x and with ar2(i,2).y
Now I want quickly sort ar1 so that ar2 is changing to for keeping the
relation f.e. after soting ar1(1000) keeps his relation with
ar2(1000,0),ar2(1000,1) and ar2(1000,2)
I have the entirely code for quicksort but the ar2 give me a problem
For two or three arrays (as integer or single with a relation) I found a
solution with a litle changing in de code of quicksort.
Thanks for any response
I have a problem
I have a array as single ar1(N) and a multidimentional array ar2(N,2) as
structurename.
structure structurename
x as integer
y as integer
end structure
ar1(i) has a relation with ar2(i,1).x and with ar2(i,2).y
Now I want quickly sort ar1 so that ar2 is changing to for keeping the
relation f.e. after soting ar1(1000) keeps his relation with
ar2(1000,0),ar2(1000,1) and ar2(1000,2)
I have the entirely code for quicksort but the ar2 give me a problem
For two or three arrays (as integer or single with a relation) I found a
solution with a litle changing in de code of quicksort.
Thanks for any response