Re: sorting and merging of arrays of unknown sizes
- From: Nick <3-nospam@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 15 Nov 2009 08:47:23 +0000
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
.
- References:
- Prev by Date: Re: Pig-Wrestling
- Next by Date: Re: Does this program have undefined behavior?
- Previous by thread: Re: sorting and merging of arrays of unknown sizes
- Next by thread: Re: sorting and merging of arrays of unknown sizes
- Index(es):
Relevant Pages
|