https://github.com/lpsm-dev/static-list
💩 [Study] - An application to implement a simple static list
https://github.com/lpsm-dev/static-list
algorithms c-programming data-structures hacktoberfest static-list
Last synced: about 1 year ago
JSON representation
💩 [Study] - An application to implement a simple static list
- Host: GitHub
- URL: https://github.com/lpsm-dev/static-list
- Owner: lpsm-dev
- License: mit
- Created: 2022-01-05T12:49:05.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-14T20:25:48.000Z (over 2 years ago)
- Last Synced: 2025-01-02T18:17:21.914Z (about 1 year ago)
- Topics: algorithms, c-programming, data-structures, hacktoberfest, static-list
- Language: C
- Homepage:
- Size: 2.31 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README

✨ Simple static list ✨
[]()
[]()
---

✨ A console application written in C to register users and store them in a simple static list data structure ✨
---
## ➤ Installation
```bash
docker pull ghcr.io/ci-monk/static-list:main
```
## ➤ Usage
**Gcc**
```bash
cd src && gcc -o main main.c static-list.c && ./main
```
**Docker**
To run the docker container:
```bash
docker container run -it --rm ghcr.io/ci-monk/static-list:main
```
Click [here](https://github.com/ci-monk/static-list/pkgs/container/static-list/versions) to see available image tags.
## ➤ Features
- 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.
## ➤ Concepts
### List
A list is a structure that stores
elements in an aligned way, that is,
with elements arranged one after the
other.
### C struct
In C programming, a struct (or structure) is a collection of variables (can be of different types) under a single name.
## ➤ Demo
https://user-images.githubusercontent.com/58797390/148273067-b6de6695-21c0-4ab7-ae9c-c8cd9eb4fbb5.mov
## ➤ Versioning
To check the change history, please access the [**CHANGELOG.md**](CHANGELOG.md) file.
## ➤ Show your support
Give me a ⭐️ if this project helped you!

Made with 💜 by [me](https://github.com/ci-monk) 👋 inspired on [readme-md-generator](https://github.com/kefranabg/readme-md-generator)