Help: I want to buy a C++ Algorithm book

yanon

Senior member
Jun 13, 2000
202
0
0
Any good suggestion? I already have Mark Weiss's Datastructure and Algorithm Analysis in C++ 2nd Edition. This book is just too theory oriented. I need a book that is easy to understand and teaches algorithms with practical approach. Also lots practice problems and answer key would be a plus.
Is the book Thinking In C++ any good? I already read Dietel's C++ How To Program 2nd Edition. I need a book that helps me think like a object oriented programmer instead of the structure programmer which I am right now. Is the book titled C++ Faq any good? From reading the synopsis of C++ Faq on Amazon.com, it seems to be a good programming debugging helper.

Thanks in advance.
 

Are you looking for a book to teach you how to code Data Structures and Algorithms in an object oriented fashion or just a book that teaches object oriented techniques?

Thinking In C++ is a very good book, but I don't think it goes into DS&A much.



 

bUnMaNGo

Senior member
Feb 9, 2000
964
0
0
For my Data Structures & Algorithms class at UCR, we used a book called "Introduction to Algorithms", by Cormen, Leiserson, and Rivest. My friend at UCI used "A Practical Introduction to Data Structures and Algorithm Analysis", by Shaffer. My book was all in psuedocode, but my friend's book was in C++. Both are pretty good.
 

bones10

Senior member
May 23, 2000
251
1
0
I'll second dwell's post on the "Thinking in C++" book. You can download it for free from Bruce Eckel's web site: http://www.bruceeckel.com.

I find that data structures are often independant of the language. For example you can implement a linked list using object oriented constructs or not. It's still a linked list.

"Alogorithms in C++" by Segwick (sp?) is good. It is not too theoretical. Unfortunately all the examples are in C (a subset of C++). I would still recommend it though.

- bones
 

yanon

Senior member
Jun 13, 2000
202
0
0
To bUnMaNGo,
I also have a friend who is studying cs at UCR. He told me that Cormen's book is too academic oriented (analysis algorithm using mathematical proof).
I will take a look of Shaffer's book.

To bones10,

Thanks for showing me the free book website. That saves me $40. Being a poor college student, $40 means seven lunches to me. I have heard of Segwick's algorithm book. Since his book based mainly on C and the implementation of object-oriented languages is very different from the implementation of struct languages I will probably not buy it.