_ _
| (_)
___| |_ _ __ __ _ ___
/ __| | | '_ \ / _` / __|
| (__| | | | | | (_| \__ \
\___|_|_|_| |_|\__, |___/
__/ |
|___/
clings is a C version of the popular program "rustlings" made for the Rust programming language.
The purpose of this program is to take you from a total C noob, to somewhere beyond beginner.
You can install everything need (on ubuntu) with:
sudo apt-get install build-essential
make
./clings
If you are on a Debian-based distribution, you can use the start_debian.sh
script to set up your environment. This script will download the repository, install necessary packages, and set up a Tmux split screen for immediate use.
Download and run the script:
sudo wget https://raw.githubusercontent.com/danwritecode/clings/master/start_debian.sh -O start_debian.sh
sudo chmod +x start_debian.sh
sudo ./start_debian.sh
The best way to contribute is by helping me create new exercises. I have created an issue for each exercise that needs to be created. The issues follow the flow of "The C Programming Language" book.
To get started, find an exercise you want to work on and create a PR for it. Then refer to The C Programming Language for the specific chapter references in the issue title.
Note: The objective is not to directly copy the examples or code in the book. We want to create exercises based on the concepts covered in the chapter. The book is serving as a rough guideline for the exercises. Once we have all the exercises from the book, all contributors will work together to figure out how to consolidate and come up with a final set of exercises as the book can be redundant in some spots.
Feel free to ask questions if you need more details.
I did this as a project to help me learn C. The source code is far from perfect. I would gladly accept any code reviews and will work to fix any issues that are submitted.