comp.lang.ada
 help / color / mirror / Atom feed
* Desperatly trying to implement an mergesort algorithm
@ 2005-11-04 16:02 ejijott
  2005-11-04 16:22 ` Samuel Tardieu
  2005-11-04 18:48 ` Georg Bauhaus
  0 siblings, 2 replies; 5+ messages in thread
From: ejijott @ 2005-11-04 16:02 UTC (permalink / raw)


Hello!

Im having extreme problems trying to implement an mergesort in Ada, and
was hoping from some help in this group :)

My definition of the procedure is this:

type List is array(Natural range <>) of Integer;
.
.
procedure Mergesort(A : in out List);
.
.

And for readability I've used pastebin to host my code
(http://pastebin.com/417262)

I just plain and simply can't grasp what is wrong here! Am I even
partitioning the array properly?

(The merge part isn't complete yet)

Any help is GREATLY appreciated.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-11-05  3:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-04 16:02 Desperatly trying to implement an mergesort algorithm ejijott
2005-11-04 16:22 ` Samuel Tardieu
2005-11-04 16:30   ` ejijott
2005-11-05  3:33     ` Steve
2005-11-04 18:48 ` Georg Bauhaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox