From 2e239a4ed2265f7c7dc2aabedfdb7d7b011704cb Mon Sep 17 00:00:00 2001 From: standenboy Date: Thu, 25 Apr 2024 08:54:44 +0100 Subject: dll wasn't working and prob wasn't needed so i removed it --- comp/cw/code/ads/dict/dicttest.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 comp/cw/code/ads/dict/dicttest.c (limited to 'comp/cw/code/ads/dict/dicttest.c') diff --git a/comp/cw/code/ads/dict/dicttest.c b/comp/cw/code/ads/dict/dicttest.c new file mode 100644 index 0000000..4a20870 --- /dev/null +++ b/comp/cw/code/ads/dict/dicttest.c @@ -0,0 +1,10 @@ +#include + +#include "dict.h" + +int main(){ + dict_t *dict = dictalloc(); + dictset(dict, 1, "hello"); + printf("%d:%s\n", dict->id, (char *)dict->data); + dictfree(dict); +} -- cgit v1.2.3