Possible Duplicate:
Why there is not a comprehensive c archive network?
Everyone knows that C is very small language, it has just language primitives and almost no standard library (no data structures or algorithms).
Therefore I have a question, how do I find good C libraries for data structures, algorithms and perhaps system programming?
For example, if I need a hash-table, how do I find a good implementation? Or for example, if I need to work with graphs, what do I do?
So far I have been writing everything myself. But my hash table implementation is nowhere good enough. It's very basic.
What do advanced C programmers do with this problem? Do they really write all the libraries again themselves?
Thanks, Boda Cydo.
The C standard library or libc is the standard library for the C programming language, as specified in the ISO C standard. Starting from the original ANSI C standard, it was developed at the same time as the C library POSIX specification, which is a superset of it.
Libaries consist of a set of related functions to perform a common task; for example, the standard C library, 'libc. a', is automatically linked into your programs by the “gcc” compiler and can be found at /usr/lib/libc. a. Standard system libraries are usually found in /lib and /usr/lib/ directories.
The ANSI C standard library consists of 24 C header files which can be included into a programmer's project with a single directive. Each header file contains one or more function declarations, data type definitions and macros.
The difference between visiting a repository and a library is that a library is intended for public use for research and leisure, and (usually) allows items to be checked out, with a library card. A repository may or may not allow checking out of materials.
GLib.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With