Programming Language

A small fragment of the C programming language is used in the text. A compact reference manual may be found in Appendix A of the text book and on-line as a PDF file.

The text assumes that a file specdef.i of "headers" and definitions has been included into all programs; this is Program 3 on page 7.

Program 2 in the text (ndist.c) is code to test solutions to Exercise 1 on page 3. To run this, you will need to supply a file mysolution.i (as well as specdef.i) to be included.

This page was last modified on September 12, 2011.