Libraries

The C programming language uses libraries as its primary method of extension. In  C, a library is a set of functions contained within a single "archive" file.

Each library typically has a header file which contains the prototypes of the functions contained within the library that may be used by program.

In order for a program to use a library, it must include library's header file and the library must linked with the program.

The most common C library is the C standard library, which is specified by the ISO and ANSI C standards and comes with every C implementation. This library supports stream input and output, memory allocation, mathematics, character strings, and time values.  

Libraries are often written in C because C compilers generate efficient object code; programmers then create interfaces to the library so that the routines can be used from higher-level language like Java, Perl, and Pynthon 
Next PostNewer Post Previous PostOlder Post Home