TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Michael Feldman <[log in to unmask]>
Reply To:
Michael Feldman <[log in to unmask]>
Sat, 30 Sep 2000 20:06:59 -0400
text/plain (50 lines)
[said Tom]
> If you specifically want some Ada sort code, look at Booch's "Software
> Development in Ada" book.
or try

  Feldman, M.B.
  Software Construction and Data Structures with Ada 95
  Addison-Wesley, 1997. ISBN 0-201-88795-9

where you'll find generic procedures in Chapter 14 for

Bubble Sort
Delayed Selection Sort
Heap Sort
Linear Insertion Sort
Merge Sort
Quick Sort
Shell Sort
Simple Selection Sort

These are textbook examples, of course, and not intended to be
"industrial strength", but they may suit your purpose.

The source code distribution for this book, including the above,
is available by anonymous ftp in the directory

There are several compressed archives in different archive formats;
the file names all begin with cs2code.

Yours truly,

Michael Feldman
Michael B. Feldman -  chair, ACM SIGAda Education Working Group
Professor, Department of Computer Science
The George Washington University -  Washington, DC 20052 USA
[log in to unmask] - 202-994-5919 (voice) - 202-994-4875 (fax)
"Teach me to be an engineer. I don't care if it takes all day."
from a Dilbert comic strip
Visit or