Learn C With Me
A repo where I will put source code from my C exercises. Most comments / explanations are in french. I'll probably translate everything later.
- hello : including libraries and calling functions
- variable : declaring variables
- args : how to ask the user for an input
- calc : how to do quick maths
- io_calc : same as above but with user input
- short_calc : how to to quicker maths
- math : using the math library to do even quicker maths
- bool : declaring booleans (since they aren't implemented by default)
- if : running code when a condition has been respected
- switch : an if equivalent
- while & do_while : basic loops
- for : basic loop where we know how many time we want the code to be executed
- How to organize our C programs (one file)
- plusOrMinus : using what have been learned from lessons 1 to 4.
- text-editor : Visual Studio Code.
- compiler : brapifra.c-compiler - VSC extension.
You want to help me get better at C? Here's how you can help :
- Fork this repo and create a new branch
- Create a new "exercise" folder
- Add a C file with either : a comment asking me to write a program or a non-working program for me to fix
- Once I'm done, you'll be able to correct the exercise and/or explain how you would have done it.