TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Date: Sat, 30 Sep 2000 20:06:59 -0400
Reply-To: Michael Feldman <[log in to unmask]>
From: Michael Feldman <[log in to unmask]>
Content-Transfer-Encoding: 7bit
In-Reply-To: <[log in to unmask]> from "Tom Moran" at Sep 29, 2000 11:14:26 AM
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Parts/Attachments: 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
  http://www.awl.com/cseng/titles/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

ftp://ftp.seas.gwu.edu/pub/ada/courses

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)
http://www.seas.gwu.edu/faculty/mfeldman
------------------------------------------------------------------------
"Teach me to be an engineer. I don't care if it takes all day."
from a Dilbert comic strip
------------------------------------------------------------------------
Visit http://www.acm.org/sigada/education or http://www.adapower.com
------------------------------------------------------------------------

ATOM RSS1 RSS2