Thread: C++ Book Recommendations

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    72
    C++: The Complete Reference, 4th edition by Herbert Schildt. It really is a one-stop reference. I use it all the time as a reference book. It's a great tutorial for beginners too and teaches more STL than any other book I know.

    Maybe earlier editions had errors but I never came across one in this book. Can you name any and what page? There is probably an erretta that he keeps on his site. Did you look at it instead of complaining? And how can he have bad practices if each example is usually 10 lines long? What are you struggling with? It's there to teach the complete C++ language, not about software design. Software design and best practices deserve to be in its own seperate book, and believe me there are many. But to teach them while teaching a language seems like a horrible book in my opinion. It teaches the reader the basics of software design (OOP, class structure, etc.) but to go beyond that is just not the purpose of the book. I have several books on software design, but when it comes to C++ syntax and its libraries, this reference book has been always been a blessing. I highly recommend it.
    Last edited by philvaira; 07-31-2007 at 03:31 PM.

  2. #2
    Registered User
    Join Date
    Feb 2009
    Posts
    14

    Thumbs up

    Quote Originally Posted by Rahiiyja View Post
    C++ Primer Plus (Fifth Edition), by Stephen Prata.

    I am a complete beginner in programming, but have been able to learn a lot through this book. It breaks up the learning into many small pieces, with programming exercises and questions to help the reader understand.
    For me as a newbie, this book has been of great assistance.
    RAmen!

  3. #3
    Registered User LowWaterMark's Avatar
    Join Date
    Aug 2008
    Posts
    12
    I'm new and a bit stuck.

    I'm in search of an introductory text on C++ Programming that approaches its task from a theoretical or philosophical perspective. It's the way I learn. Imagery and diagrams are also quite helpful to me. If I get the conceptual framework of something, the details tend to fall into place much easier.

    I may be suffering from death by research. I've read every post in this thread twice. I've thoroughly studied the recommendations on the ACCU Website. Additionally, I've poured over the 4-star and up texts on C++ Programming at Amazon.com, as well as reading the user comments.

    I need focus (I need a book) and would appreciate any and all suggestions. I noted that "Accelerated C++: Practical Programming by Example" by Koenig and Moo got 5 recommendations here on this thread, "Highly Recommended" over on ACCU and 80 votes on Amazon averaging 4.5 stars (for whatever that's worth). Can anyone comment on its vantage point with respect to the stuff I wrote up above in the first paragraph? Simply put, would it be a good choice?

    I just finished "Absolute Beginner's Guide to C" by Greg Perry in an effort to learn some vocabulary and syntax from a bit lower level before delving into C++. Of the thousand plus texts on C++ programming, I have no doubt that the right book for me is out there.

    Thoughts?
    Last edited by LowWaterMark; 08-11-2008 at 03:11 AM. Reason: typo

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    It may not be exactly what you want, but Bjarne Stroustrup's "The C++ Programming Language" is quite readable [vs for example K&R's "The C programming language", which I find a bit "tougher" to digest], goes well into the philosophy of the language, giving practical advice and of course describing the language in detail. It may not be the BEST teaching material, but if you are serious about learning C++ and using the language, you probably want to have this book in your library anyways at some point in time, so why not now?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Quote Originally Posted by DougDbug
    Programming Windows, by Charles Petzold - This is the book for learning Windows Programming. You need to know standard C or C++ before starting this book.
    Look at some of the books already mentioned.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  6. #6
    Registered User
    Join Date
    Feb 2006
    Posts
    6
    Well a must read for all C++ serious programmers is:-
    "The Design and Evolution of C++" by Bjarne Stroustrup (Creator of C++).
    Far from being nasty and boring this books gives the detailed accounts of how many things got incorporated in the C++ and what was the motivation behind such things. So once you know the building blocks and know why were they put, you can be better programmer because you will understand the range of tools and whether your particular project demands such thing or not eg. <<, >> operator appended to cout, cin statement is nothing but one form of operator overloading that is overloading of bitwise operators.

  7. #7
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,005
    Although I'm not a C++ guy and I don't have any of these, I thought I'd drop my (hopefully) better-late-than-never post:
    Quote Originally Posted by Dave Sinkula
    With regard to C++ books, I'll just echo the advice here.
    The following books are recommended; read them in mostly the order listed.
    Proper credit: vawjr, who now has this posted.

    The following is also recommended.
    C++ Coding Standards : 101 Rules, Guidelines, and Best Practices, Herb Sutter, Andrei Alexandrescu
    Quote Originally Posted by Daved
    Consider adding C++ Coding Standards to that list. It is by Sutter and Alexandrescu, and has an excellent compilation and mini-discussion of many of the topics discussed in greater detail in the other books. It is not a coding standards book, but rather a guide to best practices in C++ code and would fit perfectly as an introduction or summary of many of the other books on that list (after Accelerated C++).
    Book reviews can also be found at www.accu.org: Beginner's C++.
    No apologies for duplication with other recommendations in this thread -- consider it a double recommendation for the book!
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  8. #8
    Registered User
    Join Date
    Aug 2006
    Posts
    19
    C++ For Dummies - 5th Edition by Stephen Randy Davis

    This is a great book to get started with C++. Teaches all the basic fundementals.

  9. #9
    Registered User
    Join Date
    Oct 2004
    Posts
    151
    C++ Annotations

    This is a book for people who already know C to pick up C++ (thus it is free of the cruft you get in "comprehensive" C++ texts). And it's available on the Intertron.
    System: Debian Sid and FreeBSD 7.0. Both with GCC 4.3.

    Useful resources:
    comp.lang.c FAQ | C++ FQA Lite

  10. #10
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    Teach yourself C++ in 24 hours. Good book but a poor CD. It uses Borland Builder X which
    is a little dated. I still own this book now and use it for cross checking a reference
    Double Helix STL

  11. #11
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    that`s the book wich i take it as a text book in my university but with 4th edition
    I had the fourth edition before I bought the fifth. The new one is a lot more spaced out, and they have shortened the chapters down. i know it is pricey ( 30.00 ) but much more of the code has been updated, eg: early classes and tree-lists are also added. I reccomend getting the fifth edition now, and it does away with that dreadful elevator simulation too.
    Double Helix STL

  12. #12
    Registered User
    Join Date
    Dec 2006
    Location
    Washington
    Posts
    18

    C++ in a Nutshell

    If you don't already own it, and you think of yourself as a C++ programmer, then you probably want to have this excellent book in your arsenal.

    http://www.amazon.com/C%2B%2B-Nutshe...285211-9351077

    :davis:

  13. #13
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    SAMS Teach Yourself C++ in 21 Days (5th EDITION) by Jesse Liberty and Bradley Jones
    I'm not sure if this was already mentioned, but still is a great book for beginners

  14. #14
    Optics with a Twist skewray's Avatar
    Join Date
    Dec 2006
    Location
    South Pasadena, CA
    Posts
    36

    A Negative Recommendation

    C++ for C Programmers by Pohl is a dog. Each edition is worse that than the previous.

  15. #15
    Notorious Turbo C killer blacksnake's Avatar
    Join Date
    Jan 2007
    Location
    philippines
    Posts
    50
    the books of HERBERT SCHILDT:

    C++: The Complete Reference
    C++: A Beginners Guide (For No0bs)
    Turbo C Makes me Sick....i just want to learn data structures in latest c++

    Le Tormente (fr. the torment)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Language REFERENCE book recommendations?
    By DougDbug in forum C++ Programming
    Replies: 5
    Last Post: 03-10-2011, 02:26 AM
  2. any book recommendations?
    By NewnOT in forum Windows Programming
    Replies: 1
    Last Post: 06-21-2009, 02:12 PM
  3. JavaScript book recommendations
    By neandrake in forum Tech Board
    Replies: 2
    Last Post: 04-05-2009, 12:27 PM
  4. C++ Book Editions and Recommendations
    By cpudaman in forum C++ Programming
    Replies: 7
    Last Post: 02-10-2008, 11:52 AM
  5. My book recommendations for rank beginners ...
    By snakum in forum C++ Programming
    Replies: 4
    Last Post: 08-21-2002, 10:38 AM