需要一个通用库,纯C [英] Need a general purpose library, pure C
问题描述
你能推荐C(纯C,不是C ++)一个很好的通用数据容器库?
我只需要基本的结构,如动态数组,哈希表等。
Could you recommend a good general purpose data container library for C (pure C, not C++)? I just need basic structures, like dynamic arrays, hash tables, etc.
(注:按好我的意思是快+优雅的界面)。
(Note: By "good" I mean fast + elegant interface).
推荐答案
我觉得戴夫·汉森的 I2C接口和实现一>资格作为快速和优雅。它包含了许多不同类型的容器,一些字符串处理,多precision算术,例外,几个不同的内存管理器。不错的东西。
I think Dave Hanson's C Interfaces and Implementations qualifies as both fast and elegant. It includes many different kinds of containers, some string processing, multiprecision arithmetic, exceptions, a couple of different memory managers. Nice stuff.
有一本书,但你并不需要购买它来使用该软件。
There's a book, but you don't need to buy it to use the software.
这篇关于需要一个通用库,纯C的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!