I'm quite new to programming, and I was wondering if there is a good source of well-programmed non-standard C code and libraries.
I Googled and didn't find anything. I was a bit surprised by this, especially because I used to search for many Python examples and libraries and never had trouble finding anything.
I already use standard libraries such as stdio.c, stdlib.c, and math.c, but I want to use some more specific C modules. A graph processing library, for example. (I don't really need this one, just a collection of C, not C++ or C#, resources and examples)
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.
Then the compiler is smart enough to resolve the import dependencies and compile your program. If you disassemble the program, you can see only your code is there, there is no standard library bloat in it. So you can use C without the standard library.
The C Standard Library is a set of C built-in functions, constants and header files like <stdio. h>, <stdlib. h>, <math. h>, etc.
there is no "centralized" source for C libraries... at least nothing along the lines of CPAN for Perl or the Python Package Index for Python.
Since C is sort of the "default" language for systems programming, it's often unstated that libraries are written for C. You may want to try Freshmeat.net's Advanced Search, since it's centered on Unix software, and there are a lot of C libraries posted there. For example, here's what I come up with searching for "graph library": http://freshmeat.net/search/?section=projects&q=%2Bgraph+%2Blibrary, and you can filter those results by language, license, etc.
(And your English is quite fine! Which I can't say about all the posters on here :-p)
If you're looking for a good repository of C code to examine and learn from then I recommend the GNU stuff. You can find anything from small programs like cat to extremely large projects like Emacs and Gnome. All the code is released under the GPL and can be freely incorporated into GPL'd free software.
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