Skip to content

spacekookie/hashmap_c

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple C hashmap, using strings for the keys.

Originally based on code by Eliot Back at http://elliottback.com/wp/hashmap-implementation-in-c/
Reworked by Pete Warden - http://petewarden.typepad.com/searchbrowser/2010/01/c-hashmap.html

main.c contains an example that tests the functionality of the hashmap module.
To compile it, run something like this on your system:
gcc main.c hashmap.c -o hashmaptest

There are no restrictions on how you reuse this code.

About

A simple string hashmap in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 86.1%
  • C++ 11.9%
  • Makefile 2.0%