VOGONS


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 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)