Special Library Functions 

C Programming Tutorial 

Go to the Table of Contents

Vist the Gifcom Corporation

Special Library Functions and Macros 

Checking character types. Handling strings. Doing maths.

C provides a repertoire of standard library functions and macros for specialized purposes (and for the advanced user). These may be divided into various categories. For instance

  • Character identification (ctype.h)
  • String manipulation (string.h)
  • Mathematical functions (math.h)

A program generally has to #include special header files in order to use special functions in libraries. The names of the appropriate files can be found in particular compiler manuals. In the examples above the names of the header files are given in parentheses.