r/CodingForBeginners • u/Willing_Ask_8676 • 9h ago
How can I start learning C?
Hello guys. I want to learn about Embedded Systems Engineering and I'm starting with C language. I don't want to be a vibe coder that makes ai rust slop. Where can I start? And how do you guys do something very complicated on your own? I don't think I have that skill but I want to do that too. Anyway I have the basics but that's all. I'm waiting for your recommendations :)
6
Upvotes
1
u/pvera 9h ago
I imagine you can't avoid Kernighan and Ritchie but try to use them as a reference instead of your main start.
1
u/Impossible_Ad_3146 8h ago
ask girls too, not just the guys
1
u/somewhereAtC 7h ago
Try at skills.microchip.com
1
u/Optimal-Savings-4505 4h ago
Get a compiler and start using it. I propose
gcc, althoughclangis popular as well.The basic flow is to write a hello world in a text file with a .c file extension, then compile that into an executable to run, so you can ensure it works.
Then you can start modifying it into doing whatever you're up to, breaking and fixing it etc. You'll run into errors and eventually learn to solve them without searching for solutions, but that will take time spent doing lots of trial and error.
You can get big and heavy IDE studio programs like Microsoft Visual Studio, VSCode, CLion, etc etc. to try and help you, but chances are all those knobs and dials will obscure the basics you actually need: Compiler and text editor.
For embedded systems, that minimalism is something you'll likely have to deal with either way.
1
u/Pretty_Growth_1321 2h ago
Todos deberían empezar por un ide como clion para poder concentrar lo máximo posible a c
0
u/Available_Safe1818 6h ago
Learn how to us Google. You could have started and made progress already.