需要一个通用库,纯C [英] Need a general purpose library, pure C

查看:88
本文介绍了需要一个通用库,纯C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能为C(纯C,而不是C ++)推荐一个很好的通用数据容器库吗?
我只需要基本的结构,如动态数组,哈希表等。



(注意:好我的意思是快速+优雅的界面) / p>

解决方案

我认为Dave Hanson的 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).

解决方案

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆