Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 804 Bytes

README.md

File metadata and controls

39 lines (23 loc) · 804 Bytes

CommonDataStructuresC

Some basic data structure for C

Containing:

linked lists:

nodes with the information of the next node in the list

doubly linked lists:

nodes with the information of the next and previous node in the list

sets:

a basic way to add an index to search your node, also using linked lists

dictionarys:

adding a value to sets, looking for a set key will return a node that also contains a value now

SetUp:

download clang:

https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win64.exe

commands:

create the exe file:

  clang.exe -o dictionary.exe .\dictionary.c

run the exe file:

  .\dictionary.exe

if opcodes are needed get the .o file:

  clang.exe -c -o linkedList.o -O0 -g .\linkedList.c