Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a library repository for C? [duplicate]

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.

like image 493
bodacydo Avatar asked Jun 28 '10 02:06

bodacydo


People also ask

Is there a standard library for C?

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.

Where can I find C library?

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.

How many C libraries are there?

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.

What is the difference between a repository and a library?

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.


1 Answers

GLib.

like image 185
Ken Avatar answered Jan 12 '23 11:01

Ken