Go to Post Good work I appoint you skillz points. - Kingofl337 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-05-2004, 21:57
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
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.
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one
  #2   Spotlight this post!  
Unread 29-05-2004, 22:07
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Book on C programming - suggestions?

try your local library. I don't think they're locally in high demand.
  #3   Spotlight this post!  
Unread 29-05-2004, 22:47
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
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.
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one
  #4   Spotlight this post!  
Unread 29-05-2004, 22:57
phrontist's Avatar
phrontist phrontist is offline
Proto-Engineer
AKA: Bjorn Westergard
FRC #1418 (Vae Victus)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Falls Church, VA
Posts: 828
phrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond repute
Send a message via AIM to phrontist
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!
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!
__________________

University of Kentucky - Radio Free Lexington

"I would rather have a really big success or a really spectacular crash and failure then live out the warm eventual death of mediocrity" - Dean Kamen
  #5   Spotlight this post!  
Unread 29-05-2004, 23:29
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
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?
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one
  #6   Spotlight this post!  
Unread 30-05-2004, 02:37
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
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
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #7   Spotlight this post!  
Unread 30-05-2004, 13:59
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
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).
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one
  #8   Spotlight this post!  
Unread 30-05-2004, 17:35
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
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...)
__________________

  #9   Spotlight this post!  
Unread 31-05-2004, 11:26
phrontist's Avatar
phrontist phrontist is offline
Proto-Engineer
AKA: Bjorn Westergard
FRC #1418 (Vae Victus)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Falls Church, VA
Posts: 828
phrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond repute
Send a message via AIM to phrontist
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.
__________________

University of Kentucky - Radio Free Lexington

"I would rather have a really big success or a really spectacular crash and failure then live out the warm eventual death of mediocrity" - Dean Kamen
  #10   Spotlight this post!  
Unread 05-06-2004, 19:18
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
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
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #11   Spotlight this post!  
Unread 08-06-2004, 20:14
NotQuiteFree's Avatar
NotQuiteFree NotQuiteFree is offline
Do the WAAAAVE!!
#0957 (Watson)
Team Role: Programmer
 
Join Date: Dec 2003
Location: Albany, Oregon
Posts: 22
NotQuiteFree will become famous soon enough
Send a message via MSN to NotQuiteFree
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.
__________________
Yo.
  #12   Spotlight this post!  
Unread 08-06-2004, 23:24
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
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!
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one
  #13   Spotlight this post!  
Unread 10-01-2005, 23:51
themaxim themaxim is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Jan 2005
Location: New York
Posts: 4
themaxim can only hope to improve
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?
  #14   Spotlight this post!  
Unread 11-01-2005, 03:27
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
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.
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #15   Spotlight this post!  
Unread 12-01-2005, 17:10
Vashts6583's Avatar
Vashts6583 Vashts6583 is offline
The sleepless
AKA: Rob Metzger
FRC #0007 (Team 007)
Team Role: Leadership
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Parkville
Posts: 79
Vashts6583 is a name known to allVashts6583 is a name known to allVashts6583 is a name known to allVashts6583 is a name known to allVashts6583 is a name known to allVashts6583 is a name known to all
Send a message via ICQ to Vashts6583 Send a message via AIM to Vashts6583 Send a message via MSN to Vashts6583 Send a message via Yahoo to Vashts6583
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?
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Compatition Angela06 Programming 30 08-04-2005 23:12
Robot Programming Education phrontist Programming 11 03-05-2004 07:32
Program book comments... Jessica Boucher General Forum 2 24-03-2002 22:40
pbasic programming punarhero Programming 4 21-01-2002 23:32


All times are GMT -5. The time now is 02:16.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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