LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-13-2009, 02:00 AM   #1
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
please suggest a good book on C


what book is the best to learn C from
I have programed in assembly and basic so I have a pretty good idea of how computers and programming work
 
Old 12-13-2009, 04:03 AM   #2
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 343

Rep: Reputation: 43
The C programming language, 2nd edition, Kernighan & Richie (the guys who created the language...)

Last edited by manu-tm; 12-13-2009 at 04:05 AM.
 
Old 12-13-2009, 09:24 AM   #3
JohnGraham
Member
 
Registered: Oct 2009
Posts: 467

Rep: Reputation: 139Reputation: 139
I tried K&R, but personally I preferred Sam's "How to Learn C in 21 Days", so I switched over to that - it's meant for people with no programming experience, so you can skim the first few chapters quite easily.

John G

Last edited by JohnGraham; 12-13-2009 at 09:26 AM.
 
Old 12-13-2009, 09:32 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by manu-tm View Post
The C programming language, 2nd edition, Kernighan & Richie (the guys who created the language...)
Yeah, that's probably the best reference for it, that's what I'd get.

However, do be a bit more specific as to what you want out of the book. Either way, the "white bible" is a good choice.
 
Old 12-13-2009, 09:50 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
"C Primer Plus" by Prata (published by Sams)
 
0 members found this post helpful.
Old 12-13-2009, 10:04 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by pixellany View Post
"C Primer Plus" by Prata (published by Sams)
Actually I have that one too, it's also a good book. Not quite so will organized, but very thorough.
 
Old 12-13-2009, 01:24 PM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
+1 for K+R 2e, it's so breathtakingly elegant; those guys were pure geniuses (genii?).
 
Old 12-13-2009, 01:31 PM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Ivor Horton's "Beginning C" (Apress).
 
Old 12-13-2009, 02:50 PM   #9
gerard4143
LQ Newbie
 
Registered: Jan 2008
Location: P.E.I. Canada
Posts: 18

Rep: Reputation: 1
The Complete Reference C by Herbert Schildt
 
Old 12-13-2009, 02:55 PM   #10
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
For POSIX I always keep my copy of "Advanced Programming for the Unix Environment" close by.
 
Old 12-13-2009, 03:31 PM   #11
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
My standard advice on books: no one book is good enough for a subject about which you are serious. For learning, you will want something tutorial in nature, with simple examples. Soon after using that, you will need a reference book, with just the bare facts organized by small subjects, such as function names. Then, you will want something more meaty, or possibly problem-specific. I trust most things published by O'Reilly, especially of the reference category. Dummies books, might suffice for a while as a first tutorial.

--- rod.
 
Old 12-14-2009, 12:17 AM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
K&R is good, but a bit terse. I've used this http://users.soe.ucsc.edu/~pohl/abc4.html a lot. They do line-by-line explanations of their sample progs, so you get a really clear idea of what is going on.
For advanced stuff I like http://www.amazon.com/Expert-Program.../dp/0131774298
 
Old 12-14-2009, 12:33 AM   #13
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by H_TeXMeX_H View Post
Yeah, that's probably the best reference for it, that's what I'd get.

However, do be a bit more specific as to what you want out of the book. Either way, the "white bible" is a good choice.
I got the white bible very well presented and they DO assume basic computer knowledge on the part of the reader

but I will be checking out these other books when I can
 
Old 12-14-2009, 05:45 AM   #14
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by chrism01 View Post
K&R is good, but a bit terse. I've used this http://users.soe.ucsc.edu/~pohl/abc4.html a lot. They do line-by-line explanations of their sample progs, so you get a really clear idea of what is going on.
Cool, thanks I didn't know about that one.

For more free books, I know there's:
http://www.duckware.com/bugfreec/index.html
http://publications.gbdirect.co.uk/c_book/

listed http://www.computer-books.us/c.php
 
Old 12-14-2009, 08:04 AM   #15
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
I love this one!!! And it's really pleasant to read.

I'm a technical books addict (I think not a so common addiction), and thanks to amazon, I can feed my addiction without spending so much... Here's my best of:

"C traps and pitfalls" by Koenig, the second book on C to read when beginning, after the bible (the K&R of course)
"Expert C programming" by Van der Linden, as I'm not english, it takes me a while to understand the connection between the wrapper, and the 2nd title, "deep C secret"...
"Safer C" by Les Hatton, not for the beginner but if you want to make serious C programming, you can not go without it.
"C unleashed" introduces some interesting techniques

If you're interested in numerical processes, two more titles:
"C language algorithms for signal digital processing" by Embree and Kimble
"Numerical recipes", the C version (didn't read the C++ one)
 
  


Reply



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
Suggest a Book? fhsm Linux - General 9 04-27-2009 08:00 AM
Suggest Book for Beginner!!! actiononmail Linux - Newbie 5 03-18-2008 01:15 PM
Book-suggest??? ramesh6056 Linux - Kernel 4 06-07-2007 05:29 AM
Suggest a book for Slackware lali.p Slackware 19 05-01-2007 08:29 AM
Suggest a great n00bie book? MasterC Programming 8 02-21-2003 05:39 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration