Is there a library repository for C? [duplicate]

 ̄綄美尐妖づ 提交于 2019-12-09 09:25:46

问题


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.


回答1:


There really isn't anything as "go to" as Boost in C++ (STL doesn't count as its part of the standard).

Beyond GLib, there is:

  1. libbasekit
  2. APR



回答2:


GLib.




回答3:


http://directory.fsf.org/category/clibs/




回答4:


http://ccan.ozlabs.org/




回答5:


There isn't any set way.... there's just a proliferation of all kinds of frameworks out there. Often there is different forces on what people want, eg, depending if its for embedded systems, PCs, flavor of OS, or whatever.



来源:https://stackoverflow.com/questions/3129809/is-there-a-library-repository-for-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!