2012-01-13 2 views
5

가능한 중복 :
Good STL-like library for C
Are there any open source C libraries with common data structures?C의 데이터 구조는?

C 프로그래머들이 자주 사용하는 데이터 구조 (해시/트리 기반 세트 /지도에 사용하는 "표준"라이브러리가 있는가, 힙, 등)? 아니면 잘 알려진 단일 구현이 없습니까?
(Boost for C++와 비슷한 것)

+2

http://stackoverflow.com/questions/668501/are-there-any-open-source-c-libraries-with-common-data-structures – NPE

+0

HTTP ://stackoverflow.com/questions/2540/good-stl-like-library-for-c – NPE

+0

http://stackoverflow.com/questions/3206939/general-purpose-library-for-standard-c – NPE

답변

7

GLib 또는 APR (Apache Portable Runtime) 라이브러리를 참조하십시오.이 라이브러리는 데이터 구조를위한 가장 잘 알려진 C 라이브러리입니다.

http://developer.gnome.org/glib

http://apr.apache.org

+0

GLib의 웹 사이트를 보면서 내 눈에 눈물을 가져 오지만 (글꼴은 올바르게 렌더링되지 않습니다 ...) APR은 꽤 멋지게 보입니다 - [모든 것이]있는 것 같습니다 (http : // apr .apache.org/docs/apr/0.9/group__APR.html). :) 감사합니다, 그들에게 좀 걸릴 것입니다! +1 – Mehrdad

+0

GLib은 훨씬 더 완벽하지만 APR도 훌륭합니다. – ouah

관련 문제