Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Standard data structure library in C?

I am looking for standard tried and tested library in C language (Windows platform) which implements data structures like stacks, queues, trees etc.

I would prefer to have a source code along with it. Writing a library on my own is possible; however, I feel it may be better to opt for some industry standard implementation which may be optimised and less buggy.

Compiler is Visual Studio 2005/2008.

like image 800
K Singh Avatar asked Nov 30 '09 12:11

K Singh


People also ask

Is there a standard library for C?

The Standard C Library has been an industry reference for real-time operation since it was introduced. Through many versions (K&R, ANSI, etc.) and revisions it has remained THE go-to book when you need to know how a standard library function works. Recommended for anyone using C, C++, C# etc.

What is standard library in C language?

The C standard library provides macros, type definitions and functions for tasks such as string handling, mathematical computations, input/output processing, memory management, and several other operating system services.

How many standard library are there in C?

The ANSI C standard library consists of 24 C header files which can be included into a programmer's project with a single directive. Each header file contains one or more function declarations, data type definitions and macros. The contents of these header files follows.

Where is the C standard library?

In the gcc manual it is given that "The C standard library itself is stored in '/usr/lib/libc.


2 Answers

Glib

Download Glib for Windows here

like image 176
qrdl Avatar answered Oct 19 '22 14:10

qrdl


  • GDSL. As per the documents, it is pure ANSI C and should work with Visual C++.
  • C-generic-library
  • Kompimi. C data structure library, with an emphasis on collections. Comes with Visual Studio project files.
like image 36
Vijay Mathew Avatar answered Oct 19 '22 15:10

Vijay Mathew