good books for practising C programmer?

K

K4 Monk

There are plenty of good C books out there, starting from the classic
"The C Programming Language", but I find them inadequate sometimes.
I'd like to know if there is a good C book which deals with
programming under the linux environment and also has details on
debugging. Any help in finding some resources will be appreciated :)
 
K

Karthik

There are plenty of good C books out there, starting from the classic
"The C Programming Language", but I find them inadequate sometimes.
I'd like to know if there is a good C book which deals with
programming under the linux environment and also has details on
debugging. Any help in finding some resources will be appreciated :)

Peter Linden's Expert C Programming:Deep C secrets is an excellent read.
 
B

Brendan Miller

There are plenty of good C books out there, starting from the classic
"The C Programming Language", but I find them inadequate sometimes.
I'd like to know if there is a good C book which deals with
programming under the linux environment and also has details on
debugging. Any help in finding some resources will be appreciated :)

If you are doing C programming in Linux, you need to learn how to use
the compiler GCC, the debugger GDB and how to write build scripts with
GNU make. All three pieces of software are produced by the GNU project.
They have very complete manuals available for free online.

http://gcc.gnu.org/onlinedocs/gcc-4.6.0/gcc/
http://sourceware.org/gdb/current/onlinedocs/gdb/
http://www.gnu.org/software/make/manual/make.html

You may also want to learn how libraries work in Linux. You should read
this article:

http://www.dwheeler.com/program-library/

If you want to inspect linux binaries (executables), you should learn
about the nm program, and the other bin utils programs.

http://www.gnu.org/software/binutils/

If you want to learn about how to do systems programming in C on Linux,
you should get this book:
http://www.amazon.com/Linux-Programming-Interface-System-Handbook/dp/1593272200

What you need to learn in depends on what you are trying to accomplish.

Brendan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top