View Full Version : Recommended reading?

10-19-2003, 12:38 PM
I'm interested in developing my C programming, but I know all about flow control, pointers, structures, etc now.

I want to learn about abstract techniques such as sorting algorithms, binary search trees (i've already made a simple one of these), and other algorithms it is handy for a programmer to know.

Could you recommend a book that teaches these things in the context of c?

10-19-2003, 01:27 PM
I would recommend Data Structures and Algorithm Analysis in C, 2nd Ed by Allen Weiss.

My professor has thought the class I'm taking right now a couple years ago in C and used that book. He said it is even better than the book we are using right now; same title except for c++ and it is really great!

I got mine, slightly used at Amazon for $35.


10-19-2003, 01:37 PM
this one? (http://www.amazon.co.uk/exec/obidos/ASIN/0321189957/qid=1066592137/sr=1-5/ref=sr_1_1_5/202-3052949-9563855) I'm cautious because the first edition got bad reviews.

10-19-2003, 02:04 PM
Yup, that is the one; personally I don't know if the C version is any good. But I really do like te c++, and I remember my professor making the comment at the beginning of the semester that the C version was even better.

10-19-2003, 02:13 PM
Yeah, I'm more a fan of C right now (partly because mingw seems to be making 500kb c++ "hello, world" executables, partly because I think c code looks better). I'll buy it if I get my tesco job (being a teenager sucks).

Zach L.
10-19-2003, 06:34 PM
Introduction to Algorithms, 2nd Ed. by Rivest, Cormen, Stein, and Leiserson

I've used it numerous times as both a reference and a text book. It is very complete, and very thorough.