✨ A console application written in C to register users and store them in a simple static list data structure ✨
docker pull ghcr.io/ci-monk/static-list:main
Gcc
cd src && gcc -o main main.c static-list.c && ./main
Docker
To run the docker container:
docker container run -it --rm ghcr.io/ci-monk/static-list:main
Click here to see available image tags.
- Create a static list in a simple way.
- Initialize static list struct with default values.
- Create a function to return de list size.
- Create a function that check if the list is empty.
- Create a function that check if the list is full.
- Insert element at the beginning of the list.
- Insert element at the end of the list.
- Remove element at the beginning of the list.
- Remove element at the end of the list.
- Search element by position in list.
- Search element by content in list.
- Destroy list reference of memory.
- Pretty console flow.
A list is a structure that stores elements in an aligned way, that is, with elements arranged one after the other.
In C programming, a struct (or structure) is a collection of variables (can be of different types) under a single name.
Screen.Recording.2022-01-05.at.15.38.21.mov
To check the change history, please access the CHANGELOG.md file.