clysto / linked-list

Tiny Linked List Libary for C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tiny Linked List Libary for C

A tiny linked list c lib. Just for fun and practice my Makefile skillšŸ¤ .

By the way, I will have a computer test on data structure right away. This project will practice my C language by the way.

Development

make: build dynamic library

make test: test the dynamic library

Documentation

void init_list(LinkedList *list);: init a blank LinkedList.

void append_to_list(LinkedList list, int value);: append a integer to LinkedList.

void print_list(LinkedList list);: print a LinkedList on console.

void remove_from_list(LinkedList list, int index);: remove an integer at the index position.

void add_to_list(LinkedList list, int index, int value);: add an integer at the index position.

About

Tiny Linked List Libary for C.


Languages

Language:C 78.2%Language:Makefile 21.8%