An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

gif-header

✨ Simple static list ✨

[![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)]()
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)]()

---

gif-about

✨ A console application written in C to register users and store them in a simple static list data structure ✨


Getting Started   |   
Versioning

---

## ➤ 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.


struct

## ➤ 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!

star-wars

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