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
- Host: GitHub
- URL: https://github.com/jgndev/c_dsa_templ
- Owner: jgndev
- License: bsd-3-clause
- Created: 2024-09-01T22:06:42.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-04T15:54:33.000Z (8 months ago)
- Last Synced: 2025-02-28T12:08:36.166Z (2 months ago)
- Topics: dsa-c, leetcode-c
- Language: Shell
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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
```