It seems the last time I had to use a hash on Linux I was using C++ and was able to use the map class. I am now working in C and am not sure what is best to use.
I have read over http://linux.about.com/library/cmd/blcmd... but does anyone have a link or can directly provide me with some basic examples of creating a new hash, inserting elements, and retrieving data from the hash.
Thanks
Linux hash examples?
Using glib is probably a good idea, but if you want only a hash, then Uwe Ohse's strhash is a decent general purpose associative array library.
Small, liberally licensed, uses strings as keys.
No new release since 2003, but it still works just like back then.
http://www.ohse.de/uwe/strhash.html
Reply:Sure, take a look at some glib docs, such as:
http://www.ibm.com/developerworks/linux/...
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment