Skip to content

LeonKarstens/c_list_library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node

A C library for a doubly linked list implementation that allows printing, storage, sorting and retrieval of (homogenously typed) generic data.

Importantly this 'library' also allows for the deletion of linked lists (avoiding common memory leaks for a more naive implementation)

A list is created with: create_linked_list() and there are a variety of helper methods supplied in nodeLib.c which make interfacing with the list simple.

Note the use of GenericData and GenericNodeFunctions (e.g. comparison, copy, sort, stringPrinting) to facilitate the storage of any kind of data - these need to be defined on a per data basis, examples given in the cardLib.c and cardLib.h files.

About

A C library for a doubly linked list implementation that allows printing, storage, sorting and retrieval of (homogenously typed) generic data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors