LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-11-2004, 04:43 PM   #1
rmy1
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Rep: Reputation: 0
Best beginner book for C programming?


From a programmer's view, what is the best beginning C programming book you've read? I've been wanting to program for over 10 years now and am dedicating myself to it, once I can take a few years to become fluent in it, of course.
 
Old 11-11-2004, 05:04 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
In the Univercity they gave us:
The Programming Language C (Second Edition)

If you have never programmed again, try this
but there are a lot of things you have to learn
beside that(data structures, algorithms,etc).

anyway, you will gain knoledge by trying to solve problems you may find
throught manuals and from the internet.
 
Old 11-11-2004, 05:17 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,060

Rep: Reputation: 295Reputation: 295Reputation: 295
I agree that Kernighan and Ritchie's The C Programming Language Second Edition is the best C book out there, but it assumes that you're familiar with some other programming language. For an absolute intro textbook, I've heard good things about C Programming: A Modern Approach by K. N. King, but I've not actually read it myself. You should probably avoid C For Dummies, as it has a lot of mistakes that may not be apparent at first, buy will trip you up sometime if you get into the habit of making them.

My advice would be to learn ANSI C well and then branch off into system dependent features such as the *nix or Windows API.
 
1 members found this post helpful.
Old 11-12-2004, 01:09 AM   #4
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Rep: Reputation: 31
heh, I learned C with [i[C for dummies[/i] Maybe that C for dummies with another book as a cross reference? Don't forget those man pages for C functions as a quick reference.
 
Old 11-12-2004, 09:53 AM   #5
klopex
LQ Newbie
 
Registered: Nov 2004
Location: USA
Distribution: Redhat, Mandrake
Posts: 9

Rep: Reputation: 0
I learned from "C By Example" by Greg Perry.

I found it to be a simple book for the new programmer. It seemed to be easily readable and comprehendable. I no longer use that book, and I use K&R's "The C Programming Language". I don't think that I would have enjoyed reading the K&R book as much as a newbie... but I would have still learned C. And so will you, so stop stalling and go get a book and learn C! The language that made obfuscation the norm!

:^)
 
Old 11-12-2004, 04:42 PM   #6
tacca
Member
 
Registered: Oct 2004
Location: Angers, France
Distribution: SuSE 10.0
Posts: 47

Rep: Reputation: 15
i would have to say the best ever is

steven's TCP/IP Illustrated volume 2

: a detailed and yet refined explanation of the source code(we all know that the source code itself is the best text book)

i have never seen another book as good as that one.

in fact the open source community is rich with beautiful source codes. but it is a pity that there are few books explaining how those codes are implemented. this is perhapes not nessary for gurus, but for newbie-programmers such kind of books will be an invaluable gold-mine.

the above-mentioned "The C Programming Language" is for desk-top reference.
and "C By Example" is boring. u dont feel the progress after following it.
 
Old 11-12-2004, 04:55 PM   #7
rmy1
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Original Poster
Rep: Reputation: 0
...But what about those "(BLANK) for Dummies" books?

Has anyone used these?
 
Old 11-12-2004, 05:36 PM   #8
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,060

Rep: Reputation: 295Reputation: 295Reputation: 295
I've found Dummies books to be a hit or miss quantity. Some are good (I liked Unix for Dummies for instance), and some IMO aren't. As I posted above, I don't like C For Dummies for a variety of reasons. Remember, with Dummies books, some things are oversimplified. If you're going to get serious about working with something (a language, tool, OS, whatever), you do need to come to a point where you can understand that complexity.
 
Old 11-12-2004, 06:00 PM   #9
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
For an overview of C programming on Linux, here is a chapter (13) from Running Linux:
http://www.hk8.org/old_web/linux/run/ch13_01.htm

This is an upper level page that you may find usefull.
http://www.hk8.org/old_web/linux/index.htm

There are also relevent guides on the TLDP.org website.

The SAMS book gets into using RCS so that the current $Id$ information is included with the source-code. This is used in all of the sample programs.
 
Old 11-12-2004, 10:36 PM   #10
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
The best books ever:

The C Programming Language (Second Edition)

Unix Network Programming Volume 1

Introduction to Algorithms
 
Old 11-13-2004, 01:05 PM   #11
GatesDaemon
LQ Newbie
 
Registered: Nov 2004
Location: Pakistan
Distribution: Redhat, Mandrake
Posts: 3

Rep: Reputation: 0
I have been teaching C from last 7 years. I don't know whether you ppl use Indian authors books or not. well here r few books u can start with.
Programming for the Turbo C and C++ by Robert Lafore
Let Us C by Yashvant Kanethkar
C by Exampls Greg Perry
C How to program by Deitel and Deitel
 
Old 11-13-2004, 04:00 PM   #12
karlan
Member
 
Registered: Aug 2003
Location: San Francisco, California
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
I really liked C++ for dummies, good step to start on
 
Old 11-13-2004, 05:18 PM   #13
OmegaBlac
Member
 
Registered: Aug 2003
Location: California
Distribution: Ubuntu
Posts: 172

Rep: Reputation: 31
Cool Re: Best beginner book for C programming?

Quote:
Originally posted by rmy1
From a programmer's view, what is the best beginning C programming book you've read? I've been wanting to program for over 10 years now and am dedicating myself to it, once I can take a few years to become fluent in it, of course.
K & R's "The C Programming Language" is the bible of C. I see, not surprisingly, that others in this thread agree. Compliment that book with "Advanced UNIX Programming (2nd Edition)" and "Unix Network Programming, Vol. 1: The Sockets Networking API, 3rd addition" and you are set to go. Newbies(to programming) may prefer something more intro like Beginning C, Third Edition which is good from what I have seen.
 
1 members found this post helpful.
Old 10-12-2008, 12:52 PM   #14
rizabaksh
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
Best book: C Programming - A Beginner's Course

I've read C By Example - it is an excellent teaching/reference book on C. However, this one

http://www.amazon.com/Programming-Be...dp/1438287844/

by the same author assumes you know nothing about programming and goes more slowly. It is a real "teaching" book. There is also a follow-up book C Programming - An Advanced Course if you want to go further.

riza
 
Old 10-12-2008, 01:56 PM   #15
Nightfish
Member
 
Registered: Sep 2008
Posts: 36

Rep: Reputation: 15
The C Book : http://publications.gbdirect.co.uk/c_book/

Fedora Development

Last edited by Nightfish; 10-22-2008 at 12:46 PM.
 
  


Reply


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
Linux Admin, beginner book recomendatiosn. trey85stang General 2 10-30-2005 10:24 AM
What is the best book for a beginner to learn his way 'round BASH??? Fabyfakid Linux - Newbie 8 10-15-2004 11:04 PM
what is a good beginner book for linux HunterD Linux - Newbie 7 02-10-2004 02:07 PM
A good beginner C tutorial/book dragoon linux Programming 3 12-25-2003 01:05 PM
programming beginner darksvr Programming 6 09-11-2003 02:05 AM


All times are GMT -5. The time now is 09:11 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