diff options
-rw-r--r-- | README.md | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -19,25 +19,28 @@ It you want to use this in your project, just add hashtable.c to your C source f ####Console example#### Run something like: - gcc hashtable.c example_use.c -std=c99 -Wall -O2 -o example_use + $`gcc hashtable.c example_use.c -std=c99 -Wall -O2 -o example_use` And then start the program: - ./example_use + $`./example_use` It understands the following kinds of commands fed to it's input: - add <key> <value> - set <key> <value> - get <key> <value> - rem <key> <value> + `add <key> <value>` + + `set <key> <value>` + + `get <key> <value>` + + `rem <key> <value>` As well as: - entries + `entries` which prints the number of key→value pairs stored in the hashtable and - print + `print` which prints all the mappings in the ht. ##Incomplete parts## |