r/CodingForBeginners • u/Willing_Ask_8676 • 11d 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 :)
12
Upvotes
1
u/pvera 11d 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/somewhereAtC 11d ago
Try at skills.microchip.com
1
u/Pretty_Growth_1321 11d ago
Todos deberían empezar por un ide como clion para poder concentrar lo máximo posible a c
1
u/RedAndBlack1832 10d ago
If you want embedded you probably want access to a board and an ide with a friendly cross-compiler, program script, etc. The "hello world" is very much "make an led blink" and core topics are the main loop, timing, and addressing specific pins
1
u/Still_Membership2640 3d ago
I'd start with C fundamentals, pointers, memory management, and bitwise operations, then move into microcontrollers and small hardware projects. The best way to develop problem solving skills is to build things yourself, debug them, and understand why they work. You could also check out udacity's programming courses alongside dedicated embedded C resources to get some structured practice.
0
u/Available_Safe1818 11d ago
Learn how to us Google. You could have started and made progress already.
0
u/Optimal-Savings-4505 11d 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/Impossible_Ad_3146 11d ago
ask girls too, not just the guys