c-lings / clings

Equivalent of rustlings for C
5 stars 0 forks source link

clings

cling-logo

This project contains a collection of exercises to learn C and is blazingly inspired by Rustlings.

Requirements

You can build the project with the following commands:

cmake -S . -B build && cmake --build build

You can then run the project with:

./build/clings

You should see the following output:

Compiling katas/00_intro/intro.c
Success !

Hello !
This exercise compiles successfully. The...

IT WORKS ! You can now start coding.

Update the file katas/00_intro/intro.c and remove the comment // I AM NOT DONE to pass to the next

cmake -S . -B build && cmake --build build
./build/clings

Tests

After building the project in Quickstart, you can run the tests with:

ctest --test-dir build