Serving the Quantitative Finance Community

 
User avatar
DominicConnor
Topic Author
Posts: 41
Joined: July 14th, 2002, 3:00 am

Bad C++ Books

January 8th, 2006, 5:35 pm

Bad C++ books
 
User avatar
caroe
Posts: 2
Joined: July 14th, 2002, 3:00 am

Bad C++ Books

January 12th, 2006, 10:18 am

Somehow the list seems to lack the book "Practical C++ Programming" published by O'Reilly, so the list is nowhere near complete...
 
User avatar
DominicConnor
Topic Author
Posts: 41
Joined: July 14th, 2002, 3:00 am

Bad C++ Books

January 12th, 2006, 10:39 am

Not read that one. Care to expand on why it's so bad ?
 
User avatar
Cuchulainn
Posts: 23029
Joined: July 16th, 2004, 7:38 am

Bad C++ Books

January 12th, 2006, 11:36 am

QuoteOriginally posted by: DCFCNot read that one. Care to expand on why it's so bad ?Aside from misinterpreting Bjarne's original intentions on C++, I am always amused with the examples from Biology and the auto industry, likeclass IceCube: public Ice, public Cube{};Another horrible one I saw once wasclass Array{// 1d indexible container };class SortedArray: public Array{};People then might extrapolate this to their own apps.
 
User avatar
ioancw
Posts: 3
Joined: June 1st, 2005, 12:14 pm
Location: London

Bad C++ Books

January 13th, 2006, 2:17 pm

What are the best then?
 
User avatar
Cuchulainn
Posts: 23029
Joined: July 16th, 2004, 7:38 am

Bad C++ Books

January 13th, 2006, 2:56 pm

QuoteOriginally posted by: ioancwWhat are the best then?DCFC, your turn The *reference* book I consult myself is Dr. Bjarne Stroustrup's tome. And Bruce Eckel is a great writer, I learned so much from his first C++ book in 1988. Since then he has been active in this area.Before one can say what a good book is, you need to define the reader profile (novice, ...), for example, 0, 1, 2, ... years experience. At some stage we start getting into Design Paterns in C++.
Last edited by Cuchulainn on January 12th, 2006, 11:00 pm, edited 1 time in total.
 
User avatar
player
Posts: 0
Joined: August 5th, 2002, 10:00 am

Bad C++ Books

January 13th, 2006, 9:22 pm

Lets start off with basic and lets steer clear of "reference" type books..........Both the books mentioned by DD are good but reference...You cant really work through them unles you have a high boredom threshold....I'll start it off and mention Ivor Horton Beginning c++ which IMPO is the best..It took me a long time to realise this and I tried many others but I've found this is as close as you can get to having a personal tutor...This and DD's and MJ books combined.....I'll be interested to see how DD's next book fits in to things....
 
User avatar
madmax
Posts: 0
Joined: October 31st, 2003, 9:56 am

Bad C++ Books

January 13th, 2006, 10:38 pm

QuoteOriginally posted by: ioancwWhat are the best then?Here is my list: (in this sequence) Koenig and Moo:Accelerated C++: Practical programming by exampleEckel:Thinking in C++, vol1Meyers Scott:- Effective C++Herb Sutter: - Exceptional C++- More exceptional C++Meyers Scott:- More effective C++- Effective STLShalloway and Trot:Design patterns explained (examples are in Java, but who cares)James Coplien:- Advanced programming styles and idioms- Multi-paradigm designEckel:Thinking in C++, vol 2Fowler:Refactoring (examples are in Java, but does not matter really)GOF:Design PatternsStroustrup:- The Design and evolution of C++- The C++ programming language- Annotated C++ reference manualKernighan and Ritchie:The C programming languageDewhurst stephen:- C++ Common knowledgeJosuttis Nicolai:The C++ standard libraryLakos:Large scale C++ software designSutter and Alexandrescu:C++ coding standardsVandervoorde and Josuttis:C++ templatesAlexandrescu:Modern C++ designAbrahams and Gurtovoy:C++ Template Metaprogramming
 
User avatar
madmax
Posts: 0
Joined: October 31st, 2003, 9:56 am

Bad C++ Books

January 13th, 2006, 10:44 pm

And if you are looking for good reviews, check here: http://www.accu.org/Both Joshi's and Duffy's books are good to show you how to apply some of this stuff in finance, but I think it is still compulsory to go through at least through Meyers(3 books) Sutter(2 books) and Dewhurst. You also want Stroustrup close to hand for reference, as well as Josuttis for the STL. Also you probably want to add the link www.boost.org to your favorites, and browse there not only for code, but also for the very useful and detailed documentation. and www.quantlib.org
 
User avatar
ioancw
Posts: 3
Joined: June 1st, 2005, 12:14 pm
Location: London

Bad C++ Books

January 14th, 2006, 11:10 am

Thanks CuchulainnI've found an electronic copy of Eckel's book - so I'll start with that.As for me - I would say am a novice - am doing 7City's C++ course in March though!!
 
User avatar
Cuchulainn
Posts: 23029
Joined: July 16th, 2004, 7:38 am

Bad C++ Books

January 14th, 2006, 7:46 pm

QuoteOriginally posted by: playerI'll be interested to see how DD's next book fits in to things....See my post to mutley 11 January (new books 2006 thread) for a TOC.Do you have any special wishes/applications? Now is yer chance
 
User avatar
player
Posts: 0
Joined: August 5th, 2002, 10:00 am

Bad C++ Books

January 14th, 2006, 9:02 pm

Saw the link to your book although it only has information about the first 16 chapters as opposed to the 24 you mentioned in the other thread..........It looks very good......Two points1) How much is there of an overlap to your previous C++ book esp regarding the chapter on STL2) Any chance of putting Q & A section for each chapter or for each couple of chapters......
 
User avatar
Vito
Posts: 1
Joined: November 25th, 2004, 1:10 am

Bad C++ Books

January 14th, 2006, 9:18 pm

QuoteOriginally posted by: playerSaw the link to your book although it only has information about the first 16 chapters as opposed to the 24 you mentioned in the other thread..........It looks very good......Two points1) How much is there of an overlap to your previous C++ book esp regarding the chapter on STL2) Any chance of putting Q & A section for each chapter or for each couple of chapters......A lot of exercises at the end of each chapter would be even better, one has to have his hands dirty otherwise everything just read would be gone in a couple of days. Also solutions to the exercises is a nice idea, either at the end of the book or as a separate file for download if you don't want the book to be too heavy.
 
User avatar
player
Posts: 0
Joined: August 5th, 2002, 10:00 am

Bad C++ Books

January 14th, 2006, 9:27 pm

Agreed!!
 
User avatar
Cuchulainn
Posts: 23029
Joined: July 16th, 2004, 7:38 am

Bad C++ Books

January 15th, 2006, 9:48 am

QuoteOriginally posted by: playerSaw the link to your book although it only has information about the first 16 chapters as opposed to the 24 you mentioned in the other thread..........It looks very good......Two points1) How much is there of an overlap to your previous C++ book esp regarding the chapter on STL2) Any chance of putting Q & A section for each chapter or for each couple of chapters......Player0) the chapters after 16 are indeed not in the TOC but they represent the major applications and test cases in book1) Not so much overlap with first book but we do have a chapter on STL, we need its. The focus will be a bit different and geared to the kinds of containers and algorithms in QF (e.g. lattices)2) Yes! each chapter has exercises (easy, hard) and projects.Hope this helps
Last edited by Cuchulainn on January 14th, 2006, 11:00 pm, edited 1 time in total.