C最流行的通用收集数据结构库是什么? [英] What is the most popular generic collection data structure library for C?

查看:161
本文介绍了C最流行的通用收集数据结构库是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个提供通用收集数据结构的C库,例如列表,关联数组,集合等。库应该是稳定和经过良好测试的。我基本上是在寻找比C标准库更好的东西。

I'm looking for a C library that provides generic collection data structures such as lists, associative arrays, sets, etc. The library should be stable and well tested. I'm basically looking for something better than the crappy C standard library.

什么C库适合这种描述?

What C libraries fit this description?

编辑:我喜欢图书馆是跨平台的,但是失败了,任何在Mac / Linux上工作的东西。

I'd prefer that the library was cross-platform, but failing that, anything that works on Mac/Linux.

推荐答案

如果你在linux上,我将使用 GLIB 。它提供了你所期望的所有帮助程序库,加上它非常好的维护和非常活跃(总是一个+)。上面的链接是直接到数据结构部分,但GLIB中还有很多其他的东西,所以看看周围!

if you are on linux, i would use GLIB. it provides all the helper libraries you would expect, plus its very well maintained and very active (always a +). the link above is straight to the section on data structures, but there is plenty of other things in GLIB so take a look around!

这篇关于C最流行的通用收集数据结构库是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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