this post was submitted on 27 Jun 2023
10 points (100.0% liked)
Programming
13376 readers
1 users here now
All things programming and coding related. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
There is no single best way for every beginner. When I web search for "how to learn c programming", then a lot of tutorials will appear. It would be good to know what does make them "bad resource" in your opinion, so one can give a better suggestion. Also it would be good to know what your end goal with C is; systems programming? cli programming? why is Python not enough? do you want work as a C programmer somewhere?
Read a book about C, follow the examples and try to solve stuff alongside, play with the code. Take your time. And look out that its not too old, as the language and tools changed over time. Here is a suggestion: A complete and up to date open source book as downloadable PDF
I just want to learn the low level stuff about how programs are written in C, and things like how system starts processes, how programs interact with the OS etc, (I guess that's basically systems programming ?).
some that I've looked up seem rather shallow and don't explain things well, what I'm struggling with is the memory allocation stuff, like what is malloc ? realloc ? calloc ?
Python is enough, I'm happy with it; I just want to learn more.