Programming I  version 1.1
Programming I C Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Programming I Documentation

The Programming I C Library defines basic data types and functions to simplify C programming for beginners and to enable the step-by-step design approach outlined in the script. It contains facilities for testing code, e.g., functions for comparing actual and expected return values. It also contains arrays and lists for elements of various types.

Download and Installation

Download the library with examples from the script:
prog1lib-1.1.zip

Extract the zip file, go to directory prog1lib/lib, make libprog1.a, go to directory prog1lib/script_examples, make celsius_to_fahrenheit (or any other example from the script). In more detail, assuming that you have opened the terminal (on Linux or Mac) or installed MinGW (on Windows, including the ``bin'' class of msys-wget, msys-zip, msys-unzip), perform these steps:

cd DirectoryToWhichYouDownloadedTheLibrary
unzip prog1lib-1.1.zip
cd prog1lib/lib
make
cd ../script_examples
make celsius_to_fahrenheit
./celsius_to_fahrenheit

Detailed Steps for MinGW on Windows

Header Files

Functions for output, input, testing, assertions, etc. contained in base.h.

Overview of all files