Content deleted Content added
m →Ruby: <source lang=irb> |
Cyberbot II (talk | contribs) Rescuing 1 sources. #IABot |
||
Line 44:
=== [[C (programming language)|C]] ===
There is no standard implementation of an associative array in C, but a 3rd party library with BSD license is available [https://web.archive.org/20071015024120/http://www.cl.cam.ac.uk:80/~cwc22/hashtable/ here]
Another 3rd party library, [http://uthash.sourceforge.net/ uthash], also creates associative arrays from C structures. A structure represents a value, and one of the structure fields acts as the key.
|