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

https://github.com/ragibasif/xstd


https://github.com/ragibasif/xstd

algorithms c c99 data-structure header-library lightweight low-level modular opensource performance standard-library stdlib systems-programming utilities xstd

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# xstd

Table of Contents

- [xstd](#default)
- [๐Ÿง  About](#-about)
- [๐Ÿ“ Directory Structure](#-directory-structure)
- [๐Ÿ› ๏ธ Usage](#๏ธ-usage)
- [๐Ÿ’ป Installation](#-installation)
- [๐Ÿ”ง Build the project](#-build-the-project)
- [๐Ÿงน Clean build files](#-clean-build-files)
- [๐Ÿƒ Run the executable](#-run-the-executable)
- [๐Ÿงช Running Tests](#-running-tests)
- [๐Ÿ“„ Dependencies](#-dependencies)
- [๐Ÿ“š Documentation](#-documentation)
- [๐Ÿ™Œ Contributing](#-contributing)
- [๐Ÿชช License](#-license)
- [๐Ÿ‘ค Author](#-author)
- [Acknowledgements](#acknowledgements)

## ๐Ÿง  About

xstd is a C project that [brief description of what your program does].

It's written in standard C (C99) and uses GNU Make for building. The goal of this project is to [insert goal or motivation, e.g., build a simple CLI tool, implement data structures from scratch, etc.].

## ๐Ÿ“ Directory Structure

```bash
xstd/
โ”œโ”€โ”€ src/ # Source files
โ”œโ”€โ”€ include/ # Header files
โ”œโ”€โ”€ build/ # Build artifacts (created after make)
โ”œโ”€โ”€ Makefile # Build system
โ”œโ”€โ”€ README.md # This file
โ””โ”€โ”€ main.c # Entry point (if not inside src/)
```

## ๐Ÿ› ๏ธ Usage

### ๐Ÿ’ป Installation

Clone the repository.

```bash
git clone [email protected]:ragibasif/xstd.git
```

Make sure you have `gcc` and `make` installed.

### ๐Ÿ”ง Build the project

```bash
make
```

### ๐Ÿงน Clean build files

```bash
make clean
```

### ๐Ÿƒ Run the executable

```bash
./build/xstd
```

> The executable will be built inside the `build/` directory.

## ๐Ÿงช Running Tests

If you have a test suite:

```bash
make test
```

Or you can manually compile and run test files like:

```bash
gcc -Iinclude tests/test_foo.c src/foo.c -o test_foo
./test_foo
```

## ๐Ÿ“„ Dependencies

This project uses:

- C99 Standard
- GNU Make
- (Optional) Any libraries you're using (e.g., `glib`, `SDL2`, etc.)

## ๐Ÿ“š Documentation

- All headers are documented in the `include/` folder.
- Inline comments are included in the source files.
- [Optional] Use `doxygen` if you plan to generate documentation.

## ๐Ÿ™Œ Contributing

1. Fork the repository
2. Create a new branch (`git checkout -b feature/feature-name`)
3. Make your changes and commit (`git commit -am 'Add new feature'`)
4. Push to your fork (`git push origin feature/feature-name`)
5. Open a pull request

## ๐Ÿชช License

This project is licensed under the **MIT license**. See the [LICENSE](LICENSE) file for details.

## ๐Ÿ‘ค Author

[Ragib Asif](https://github.com/ragibasif)

## Acknowledgements