LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 09-29-2007, 01:06 PM   #1
alokatzenith
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Rep: Reputation: 1
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.
 
Old 09-29-2007, 01:51 PM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,007

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
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).
 
Old 09-29-2007, 03:08 PM   #3
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 108Reputation: 108
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)
 
Old 10-01-2007, 02:57 AM   #4
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,282

Rep: Reputation: 172Reputation: 172
I agree with both suggestions, do the C book first though.
 
Old 10-01-2007, 01:05 PM   #5
alokatzenith
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Hko View Post
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.
 
Old 10-01-2007, 01:53 PM   #6
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,007

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
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.
 
Old 10-01-2007, 02:53 PM   #7
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 718

Rep: Reputation: 72
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
 
Old 10-01-2007, 07:23 PM   #8
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,376

Rep: Reputation: 147Reputation: 147
Linux Programming by example. by Arnold Robbins is a useful read.
 
Old 10-02-2007, 01:10 PM   #9
alokatzenith
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Hko View Post
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.
 
  


Reply

Tags
book, linux, programming, unix


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Linux Require Virus Protection? phantom87s Linux - General 7 12-13-2008 09:31 AM
I want to start a prog from another prog but not as child grupoapunte Programming 5 05-23-2005 05:37 PM
Require major help with Mandrake Linux 8.1 RJARRRPCGP Linux - Newbie 3 02-15-2004 04:43 PM
Better buying "advanced linux prog" or "unix advanced prog" Dominik Programming 3 12-31-2003 01:11 PM


All times are GMT -5. The time now is 09:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration