VOGONS

Common searches


Reply 20 of 24, by appiah4

User metadata
Rank l33t++
Rank
l33t++

Modern C by Jens Gustedt is both free and basically trumps everything else out there.

https://inria.hal.science/hal-02383654v1/file/ModernC.pdf

Retronautics: A digital gallery of my retro computers, hardware and projects.

Reply 21 of 24, by gerry

User metadata
Rank Oldbie
Rank
Oldbie

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

Reply 23 of 24, by serialShinobi

User metadata
Rank Newbie
Rank
Newbie
appiah4 wrote on 2024-05-03, 14:48:

Modern C by Jens Gustedt is both free and basically trumps everything else out there.

https://inria.hal.science/hal-02383654v1/file/ModernC.pdf

Yes. This is a good book. However, it was too advanced for me. I did try to read it.

Reply 24 of 24, by acl

User metadata
Rank Oldbie
Rank
Oldbie

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)