You are not logged in.

#1 2011-04-25 23:25:36

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

C Programming Book [Suggestions]

I will be taking a C Programming course during the summer and would like a book (physical) to accompany the course. The professor says that he will cover the material in class and give us examples during lab. He doesn't care what book, if any book, we use.

Now I would like a book to use for reference. Of course I would prefer a book that uses gcc for examples.

Does anyone have any suggestions?

Thanks!


Website - Blog - arch-home
Arch User since March 2005

Offline

#2 2011-04-25 23:29:54

Haptic
Member
Registered: 2009-09-03
Posts: 149

Re: C Programming Book [Suggestions]

I believe the one most recommended is "The C Programming Language"

And yes, it provides gcc info

Last edited by Haptic (2011-04-25 23:30:48)

Offline

#3 2011-04-25 23:40:23

waspy
Member
From: Sagittarius A*
Registered: 2010-12-07
Posts: 40

Re: C Programming Book [Suggestions]

Offline

#4 2011-04-26 00:11:45

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: C Programming Book [Suggestions]

There have been a couple other threads asking for recommendations for C programming books. Search through the forums, you are sure to find some good recommendations.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2011-04-26 22:25:32

sadger
Member
Registered: 2011-04-26
Posts: 14

Re: C Programming Book [Suggestions]

Definitely recommend K&R "The C Programming Language" but.. this assumes you can program or at least have understanding of programming concepts. It won't spend time on variables or simple constructs such as for or while loops, just bear this in mind.

Offline

#6 2011-04-28 22:05:12

JHeaton
Member
From: United Kingdom
Registered: 2009-05-16
Posts: 158

Re: C Programming Book [Suggestions]

I got the K&R book a couple of weeks ago and it's proving to be fantastic so far, so I'd recommend it. It's simple but effective, possibly the best programming book I've possessed. smile

Offline

#7 2011-05-09 21:13:42

TeoBigusDickus
Member
From: /Greece/Kastoria
Registered: 2010-05-29
Posts: 141

Re: C Programming Book [Suggestions]

IMHO K&R should be read after a C primer. It's an amazing book, but its contents can get a bit, let's say, "too concentrated".
I'd say this: http://www.amazon.com/Programming-Appro … 0393969452
After you've read that one, you will be able to appreciate K&R better.


Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux! Please make Autocad Civil 3d and Archicad work on Linux!

Offline

#8 2011-05-18 02:58:28

vfbsilva
Member
From: Brazil
Registered: 2010-04-08
Posts: 103

Re: C Programming Book [Suggestions]

BEsides K&R I strongly recommend you http://pw1.netcom.com/~tjensen/ptr/pointers.htm  . It covers the the most important language structures. Once you get the idea behind pointers and arrays all you do is pile up knowledge on your stack wink

Offline

#9 2011-05-18 18:22:17

Majorix
Member
Registered: 2008-01-31
Posts: 96

Re: C Programming Book [Suggestions]

Aside from K&R I find the Deitel books to be really solid. "Deitel&Deitel C: How to Program" is the one I am talking about.

Offline

#10 2011-06-01 21:57:24

gmorris
Member
Registered: 2011-05-13
Posts: 5

Re: C Programming Book [Suggestions]

I have two books on C/C++. They are both quite old. I believe one is SAMS "Teach yourself C in 21 days" or something, and the other is specifically for MSVC, version 6. The SAMS book is generic, you can learn on Linux, Windows, VMS etc., whatever OS you have that can compile C. The other one for MSVC 6 concentrates only on MSVC 6, though it does have a few routines that show how to use certain features of MSVC that could be used for another compiler I suppose.

I'd be willing to sell either or both pretty cheap, shipping will probably cost more, otherwise I'll just keep 'em for my own reference.

Offline

#11 2011-06-04 03:34:28

jefhsf
Member
Registered: 2011-03-02
Posts: 1

Re: C Programming Book [Suggestions]

I found K&R was pretty much the perfect book for a newbie.
I wouldn't say it assumes you can program, but it assumes you're not a cretin and have a basic mathmatical background. In 1978(88 for 2nd ed.) you wouldn't really be anywhere near a computer unless that was the case.

The biggest tip you can take if you wanna learn to program is forget everything you think you know about computers, and start over from the ground up, one you get into pointers  and things like binary trees, it's  really really easy to see how even the most complicated features of today's  computers boil down to 1 and 0. and you'll have a "wow" moment when it all hits you at once.

forget compiler specifics, the only thing you're gonna need to type for a while is  cc file.c && ./a.out, just run a super-basic commandline setup, and focus on pointers and memory management bigtime, coz that's pretty much all it boils down to..

Offline

#12 2011-06-04 22:23:49

nXqd
Member
Registered: 2010-07-01
Posts: 173

Re: C Programming Book [Suggestions]

The C programming language is definitely the best one for newbie and beginner smile


When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles

Offline

#13 2011-06-07 03:48:13

Lux Perpetua
Member
From: The Local Group
Registered: 2009-02-22
Posts: 73

Re: C Programming Book [Suggestions]

That's a good book! It was my textbook for my first programming course, and I still refer to it occasionally.

Offline

Board footer

Powered by FluxBB