LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   Require LINUX prog books (http://www.linuxquestions.org/questions/programming-9/require-linux-prog-books-588246/)

alokatzenith 09-29-2007 02:06 PM

Require LINUX prog books
 
Hi to all.

I am new to Linux. I want to do some programming in C or C++ under Linux. So can u plz suggest me some good books on the topic. I dont want to learn scripting I just want to go through C and C++.



Thanks

Hoping for a quick reply.

tronayne 09-29-2007 02:51 PM

Brian W. Kernighan and Dennis M. Ritchie, The C Programming Language, Second Edition (see http://www.amazon.com).

Stephen Kochan, Programming in C, Third Edition (see http://www.kochan-wood.com).

Hko 09-29-2007 04:08 PM

If you are lready pretty familiar with C (or C++) but not to Linux/UN*X, then the book (very few will argue) is: "Advanced programming in the UNIX environment", by R. Stevens. The orginal edition is pretty old and hence a bit outdated, but there is a quite recent updated version (with a second author mentioned: S. Rago, because the Richard Stevens died years ago)

bigearsbilly 10-01-2007 03:57 AM

I agree with both suggestions, do the C book first though.

alokatzenith 10-01-2007 02:05 PM

Quote:

Originally Posted by Hko (Post 2907783)
If you are lready pretty familiar with C (or C++) but not to Linux/UN*X, then the book (very few will argue) is: "Advanced programming in the UNIX environment", by R. Stevens. The orginal edition is pretty old and hence a bit outdated, but there is a quite recent updated version (with a second author mentioned: S. Rago, because the Richard Stevens died years ago)

Thanks for your reply.

But I need a book fully dedicated to C in Linux enviroment. For progrmming under Linux I m using "Beginning Linux Programming",
by Neil Matthew, Richard Stones.

tronayne 10-01-2007 02:53 PM

Quote:

But I need a book fully dedicated to C in Linux environment.
If you stick with books that either have "Unix" or "Linux" in the title you'll be fine writing C programs for a Linux platform -- avoid like the plague anything written for or about Windows (a hint: if the examples refer to disk drives by letter; e.g., d:\, it's not what you want).

The Kochan book is excellent (I've used it as the textbook for C language courses with no complaints); although it doesn't say "Unix" or "Linux" in the title, all Kochan (and Kochan & Wood) C books are Unix- and Linux oriented (they both, if I remember correctly) come out of Bell Labs).

The implementation of the C language on Unix and Linux is ANSI/ISO standard which is what you need to know.

makyo 10-01-2007 03:53 PM

Hi.

Other sources of advice:

1) provides lists of technical books by popularity, a few reviews, and good prices:
http://www.bookpool.com/

2) provides the best single-source books for Linux and Unix (but they also sell some Windows books):
http://www.oreilly.com/

3) lists of books with reviews and reader evaluations; 311 hits on a search for linux programming in c:
http://amazon.com/

Best wishes ... cheers, makyo

graemef 10-01-2007 08:23 PM

Linux Programming by example. by Arnold Robbins is a useful read.

alokatzenith 10-02-2007 02:10 PM

Quote:

Originally Posted by Hko (Post 2907783)
If you are lready pretty familiar with C (or C++) but not to Linux/UN*X, then the book (very few will argue) is: "Advanced programming in the UNIX environment", by R. Stevens. The orginal edition is pretty old and hence a bit outdated, but there is a quite recent updated version (with a second author mentioned: S. Rago, because the Richard Stevens died years ago)

Thanks for your kind reply!

I got the book R. Stevens and found it good for me.

Thanks one again.


All times are GMT -5. The time now is 12:20 AM.