Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Book on C programming - suggestions? (http://www.chiefdelphi.com/forums/showthread.php?t=28842)

wun 29-05-2004 21:57

Book on C programming - suggestions?
 
I have been programming various things for about four years now, but it wasent until the competition this year that I used C. Thankfully there was nothing overly complex that had to be done, and the code was very well commented so I did not have too much trouble with it.
This said, I still do not feel totally comfortable with C and want to get more familiar with it, so I was wondering if anyone could recommend a good book on it (I like books better than web pages, but if you do know of any really good pages, they would also be much appreciated). I have been looking around on amazon.ca, but they have something like 1000 titles in their "C & C++ Programming" section which makes it very hard to decide.
The one book I did like is "Programming with C: A Modern Approach" which I borrowed from my friend, but I do not have the $100 to buy it online and he wanted it back.

Astronouth7303 29-05-2004 22:07

Re: Book on C programming - suggestions?
 
try your local library. I don't think they're locally in high demand.

wun 29-05-2004 22:47

Re: Book on C programming - suggestions?
 
Ya, I could do that, but I like books that I can keep around for reference (and because I am really bad at remembering to return things to the library).
Its a good idea thou, maybe I'll go around corner one day to take a look.

phrontist 29-05-2004 22:57

Re: Book on C programming - suggestions?
 
Quote:

Originally Posted by wun
I have been programming various things for about four years now, but it wasent until the competition this year that I used C. Thankfully there was nothing overly complex that had to be done, and the code was very well commented so I did not have too much trouble with it.
This said, I still do not feel totally comfortable with C and want to get more familiar with it, so I was wondering if anyone could recommend a good book on it (I like books better than web pages, but if you do know of any really good pages, they would also be much appreciated). I have been looking around on amazon.ca, but they have something like 1000 titles in their "C & C++ Programming" section which makes it very hard to decide.
The one book I did like is "Programming with C: A Modern Approach" which I borrowed from my friend, but I do not have the $100 to buy it online and he wanted it back.

Welcome to the only language worth knowing! :D
It's got a steep learning curve, but it's oh-so-worth it.

The best book is, hands down, the beloved "K&R" book. Whatever you pay for it, it's worth it. (Make sure you get the ANSI C version.) Oh, and use a standards compliant compiler, like GCC. Have Fun! Feel free to PM me questions. I highly reccommend the exercises in that book.

PS: This site is great!

wun 29-05-2004 23:29

Re: Book on C programming - suggestions?
 
Quote:

Originally Posted by phrontist
The best book is, hands down, the beloved "K&R" book. Whatever you pay for it, it's worth it. (Make sure you get the ANSI C version.) Oh, and use a standards compliant compiler, like GCC. Have Fun! Feel free to PM me questions. I highly reccommend the exercises in that book.
great!

hhmmm I cant seem to find the second edition on amazon.ca (.ca so I dont have to convery from american $$). They have the first edition thou, so should I just go with that?

Kevin Watson 30-05-2004 02:37

Re: Book on C programming - suggestions?
 
Quote:

Originally Posted by wun
hhmmm I cant seem to find the second edition on amazon.ca (.ca so I dont have to convery from american $$). They have the first edition thou, so should I just go with that?

You should get the second edition. Here's a link to it at amazon.ca. As has been said elsewhere, K&R is more like a dictionary of the language, not something you'd use as a primer.

-Kevin

wun 30-05-2004 13:59

Re: Book on C programming - suggestions?
 
Quote:

Originally Posted by Kevin Watson
You should get the second edition. Here's a link to it at amazon.ca. As has been said elsewhere, K&R is more like a dictionary of the language, not something you'd use as a primer.

-Kevin

Ah, great, thanks. I had found that one but I didnt notice the "second edition" in the title of the book (I assumed it would be in the description somewhere - thats what happens when you try and do things late at night).

Ryan M. 30-05-2004 17:35

Re: Book on C programming - suggestions?
 
I'd recommend "The Complete Reference: C++" (forth edition is the one I have, but it might have something newer. Doubt that though, it was only 2 or so years ago.) It has the first part covering C and the second C++. Great book. Especially since you'll eventually want classes... (ignore Phrontist...) :)

phrontist 31-05-2004 11:26

Re: Book on C programming - suggestions?
 
Quote:

Originally Posted by Kevin Watson
You should get the second edition. Here's a link to it at amazon.ca. As has been said elsewhere, K&R is more like a dictionary of the language, not something you'd use as a primer.

-Kevin

Bah! I know many, many, people who learned C from K&R! I wouldn't do that if you were a total newbie, but for anyone with a modicum of conceptual programming experience K&R is the way to go. The appendices to function as a great refrence though.

Raven_Writer 05-06-2004 19:18

Re: Book on C programming - suggestions?
 
I know you want a book, but maybe also going to a few websites:

*These aren't for robot programming, but for PC programming*

http://www.cpp-home.com
http://www.cprogramming.com

NotQuiteFree 08-06-2004 20:14

Re: Book on C programming - suggestions?
 
I'm going to suggest that you don't buy any programming book whose title ends with ".....for Dummies". Definatly NOT a good investment.

wun 08-06-2004 23:24

Re: Book on C programming - suggestions?
 
Thanks again,
These have all been really helpfull suggestions.
I ended up getting K&R and I really like it so far, great book. I cant wait for exams to end (5 more days!) so I can spend lots of time with it!

themaxim 10-01-2005 23:51

Re: Book on C programming - suggestions?
 
you all were talking about textbooks about c and stuff like that...

im looking for a cheaper more beginner book for c, that explains everything from the basics and just teaches me the whole language in a normal paperback, and codes and such and things i can learn and use when programming a robot. what do you suggest?

Mike Betts 11-01-2005 03:27

Re: Book on C programming - suggestions?
 
Quote:

Originally Posted by themaxim
you all were talking about textbooks about c and stuff like that...

im looking for a cheaper more beginner book for c, that explains everything from the basics and just teaches me the whole language in a normal paperback, and codes and such and things i can learn and use when programming a robot. what do you suggest?

I strongly suggest this: http://www.lysator.liu.se/c/bwk-tutor.html

It's a scaled down version of K&R but it has virtually everything you need to program a robot... And it's free.

Vashts6583 12-01-2005 17:10

Re: Book on C programming - suggestions?
 
Oh, and about the K&R, I also had it recommended to me, but I haven't yet found it in any bookstore. Other than on-line, is there any place that I might be able to find it?


All times are GMT -5. The time now is 23:17.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi