Re: sorting and merging of arrays of unknown sizes



ramu <ramu.ask@xxxxxxxxx> writes:

Hi,
Can anyone tell me how to sort and merge two arrays of
"unknown sizes"?

Firstly, people won't write code for you - if you show what you've done
and what your problems are they'll try to help you improve it and sort
out the bits you are having problems with.

Secondly, your specification is too vague anyway. Are they unknown at
execute time or only at compile time? Are they of a known type or
should the code cope with different types? Are they pre-existing arrays
or are they actually data in files? Are they big enough that they can
both fit in "memory" at the same time?

If you do part 1, you'll avoid the problems in part 2.
--
Online waterways route planner: http://canalplan.org.uk
development version: http://canalplan.eu
.



Relevant Pages