Ada Programming/Algorithms/Intro

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Welcome to the Ada implementations of the Algorithms Wikibook. For those who are new to Ada Programming a few notes:

  • All examples are fully functional with all the needed input and output operations. However, only the code needed to outline the algorithms at hand is copied into the text - the full samples are available via the download links. (Note: It can take up to 48 hours until the cvs is updated).
  • We seldom use predefined types in the sample code but define special types suitable for the algorithms at hand.
  • Ada allows for default function parameters; however, we always fill in and name all parameters, so the reader can see which options are available.
  • We seldom use shortcuts - like using the attributes Image or Value for String <=> Integer conversions.

All these rules make the code more elaborate than perhaps needed. However, we also hope it makes the code easier to understand

This page is added through transclusion to other modules in the Ada Programming Wikibook.