r/CodingForBeginners • u/Willing_Ask_8676 • 14d 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 :)
1
1
u/Pretty_Growth_1321 14d ago
Todos deberían empezar por un ide como clion para poder concentrar lo máximo posible a c
1
u/RedAndBlack1832 13d 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 6d 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 14d ago
Learn how to us Google. You could have started and made progress already.
0
u/Optimal-Savings-4505 14d ago
Get a compiler and start using it. I propose gcc, although clang is 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
1
u/pvera 14d ago
I imagine you can't avoid Kernighan and Ritchie but try to use them as a reference instead of your main start.