Sglib

Sglib is a simple, generic library for C.
Download

Sglib Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Free for non
  • Price:
  • FREE
  • Publisher Name:
  • Marian Vittek
  • Publisher web site:
  • http://www.xref-tech.com/xrefactory-java/main.html

Sglib Tags


Sglib Description

Sglib is a simple, generic library for C. Sglib project is a library defining useful macros for manipulating common data structures. The library currently provides generic implementation for:· sorting arrays· manipulating linked lists· manipulating sorted linked lists· manipulating double linked lists· manipulating red-black trees· manipulating hashed containersSglib consists of a single header file without any binary code. In consequence it is absolutely platform independent. In order to use it just put #include "sglib.h" into your source code.The library is implemented in the C programming language and written for C programmers, however it is freely inspired by the Standard Template Library.In general, Sglib macros are parametrized by the type of the data structure and a comparator function (or comparator macro). Several further generic parameters such as the name of the 'next' field for linked lists may be required.Although I wish to keep the library as simple as possible all suggestions for new functionalities are welcomed. Currently, the implementation of queues, priority queues, hashed tables and AVL trees is in progress.What's New in This Release:· This release fixes problems with overflow of the numeric comparator.


Sglib Related Software