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

https://github.com/jgndev/c_dsa_templ

c template for dsa problems
https://github.com/jgndev/c_dsa_templ

dsa-c leetcode-c

Last synced: 2 months ago
JSON representation

c template for dsa problems

Awesome Lists containing this project

README

        

# C DSA Template

This template is created to quickly stand up a new project for C that includes
Unity Tests and CMake for builds.

## Usage

`git clone https://github.com/jgndev/c_dsa_templ your_dir_name`

## Project Setup

Run project setup to configure the project and create `compile-commands.json` for LSP support.

## Running Tests

Add your tests to `test/test_solution.c`

Then you will `cd` into the `build` directory and run `make`.

```bash
cd build && \
make && \
./test_solution
```