dktools-4  4.9.7
Dirk Krause's libraries.

The dklib project consists of a set of libraries.The Changes since version 3. page lists the changes from 3.x.x to 4.x.x.

Before going into the details I recommend to read the Conceptions page.

The following libraries are available:

libdk4base

The libdk4base library contains basic functionality, i.e. for the following purposes:

Mathematical library

The libdk4ma library contains arithmetic operations on integers of different bit width and comparison operations. The arithmetic operations check for overflow and prevent divisions by zero. The comparison operations can compare signed and unsigned integers properly.

Number I/O libraries

These libraries convert integer and double numbers to text and vice versa. Data types char, wchar_t and dkChar are supported, use either decimal or hexadecimal notation.

Character type Notation Library
char decimal libdk4maio8d
char hexadecimal libdk4maio8h
wchar_t decimal libdk4maiowd
wchar_t hexadecimal libdk4maiowh
dkChar decimal libdk4maiodd
dkChar hexadecimal libdk4maiodh

libdk4c

The libdk4c library contains modules for various purposes, including:

libdk4dbi

The libdk4dbi library provides a generic interface to Berkeley DB, NDBM and in-memory databases and allows to store text in these databases.

libdk4mdrnd

The libdk4mdrnd library generates message digests and random numbers.

libdk4sock

The libdk4sock library contains functions for socket operations both for networking and local UNIX domain sockets.

libdk4app

The libdk4app library provides some equivalents for libdk4c functions with included localized diagnostics and other application support.

libdk4lat

The libdk4lat library contains code to find LaTeX representations for 32 bit characters.

libdk4dbia

The libdk4dbia provides some equivalents for libdk4dbi functions with included localized diagnostics.

libdk4socka

The libdk4socka library provides some equivalents for libdk4sock functions with included localized diagnostics.

libdk4wx

The libdk4wx library provides helper classes to build wxWidgets base GUI applications.