Reply 20 of 24, by appiah4
- Rank
- l33t++
Modern C by Jens Gustedt is both free and basically trumps everything else out there.
Retronautics: A digital gallery of my retro computers, hardware and projects.
Modern C by Jens Gustedt is both free and basically trumps everything else out there.
Retronautics: A digital gallery of my retro computers, hardware and projects.
some nice resources in this thread
i remember my first attempts with c using an old 'turbo c' compiler for dos and later on the amazing turbo c++ 3, there are many development tools available but while learning its worth keeping things simple to not get distracted by setting up tool chains, ides and so on
myne wrote on 2024-05-03, 13:05:Here's the C course. It's free so it can't hurt to check it out.
https://www.codecademy.com/catalog/language/c
Thanks.
appiah4 wrote on 2024-05-03, 14:48:Modern C by Jens Gustedt is both free and basically trumps everything else out there.
Yes. This is a good book. However, it was too advanced for me. I did try to read it.
Any good book will do.
I would recommend to learn how to use the GCC (or other) building and linking toolchain manually from the command line.
That's great to understand the difference between compilation, linking and dynamic loading. To learn where are the headers, where are the system libs for static/dynamic linking. That also helps to write simple makefiles later.
Learning memory management is tough but super important in C. Pointers of course, but also memory locations.
Variables can be allocated at multiples locations and this can make a huge difference in what you can and what you can'do (static variables, static local variables, local variables on the stack, dynamically allocated memory)
Of course these are advanced topics, not for the hello world.
"Hello, my friend. Stay awhile and listen..."
My collection (not up to date)