C++ General: What are good books about C++ ?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Thread: C++ General: What are good books about C++ ?

  1. #1
    Join Date
    Aug 2002
    Location
    Madrid
    Posts
    4,588

    C++ General: What are good books about C++ ?

    Q: What are good books on C++?

    A:




    A free e-book:
    • Thinking in C++ by Bruce Eckel is available here.


    Update. Unfortunately this link is no longer valid. These books are now available in print as two volumes

    Volume 1
    March 2000
    Pearson
    ISBN: 0139798099
    https://www.amazon.co.uk/Thinking-In...ing+in+c%2B%2B

    Volume 2
    March 2003
    Pearson
    https://www.amazon.co.uk/d/cka/Think...ing+in+c%2B%2B


    Note that many of these titles were published prior to the introduction of the c++11 standard. Whilst much of their advice is still relevant, c++11 was a major change to the c++ standard and this needs to be born in mind when reading these books.

    FAQ contributed by: [Kevin Hall] [Sam Hobbs] [NMTop40] [elpiper] [miteshpandey]


    Last edited by 2kaud; June 11th, 2017 at 10:24 AM. Reason: Fixed broken url links; updated

  2. #2
    Join Date
    Aug 2003
    Location
    Canada
    Posts
    164
    I personally found the following book to be very useful for starting out with C++. For instance, it explains exactly what a class is - a data type, rather than explaining that it is some abstract thing that you could never possibly understand. It also teaches the language in a proper order; it delays any talk about OO issues until the basics of the language have been taught (whereas other books start using string classes right from the get-go). The first half of the book teaches C++, which is all you need for a good beginning. The second half teaches MFC, which I cannot comment on - I don't use it.


    Note that there is an updated version of this
    Beginning Visual c++ 2013
    https://www.amazon.co.uk/Ivor-Horton...g+c%2B%2B+ivor

    Also by Ivor Horton there is
    Beginning c++14
    https://www.amazon.co.uk/Beginning-a...g+c%2B%2B+ivor
    Last edited by 2kaud; June 11th, 2017 at 10:33 AM. Reason: Updated

  3. #3
    Join Date
    May 2004
    Location
    Pell City, Alabama
    Posts
    126

    Re: C++: What are good books about C++ ?

    Thinking in C++ and Effective STL are both excellent books in my opinion.

    Black Belt C++ also by Bruce Eckel is another good C++ book. Its lighter reading than Thinking in C++, and its not a reference type book at all, but it does have a good variety of subjects that hit on C++ topics at all levels. There are beginner topics as well as more advanced stuff. Its pretty interesting reading too, especially if you are a big computer nerd like me.

    Anyway, its not a teach C++ or a reference book at all but it does have some really good essays by Bruce Eckel and others, and I would recommend it completely.
    Last edited by Andreas Masur; July 23rd, 2005 at 01:31 PM.

  4. #4
    Join Date
    Mar 2007
    Posts
    1

    Re: C++ General: What are good books about C++ ?

    I found this book very useful.

    C++ Without Fear::by Brain Overland

    Teaches you the basics, also covers more advanced 'ideas' later in the book. Which to be honest lost me a bit.

    You get a free CD as well, with a compiler and source codes from the book. Even with the last chapters, i still recommend it.

    The current version is edition 3 Dec 2015
    https://www.amazon.co.uk/Without-Fea...B+without+fear
    Last edited by 2kaud; June 11th, 2017 at 10:40 AM. Reason: Updated

  5. #5
    Join Date
    Sep 2005
    Location
    London
    Posts
    208

    Re: C++ General: What are good books about C++ ?

    Consider, Design Patterns by Eric Gamma, Richard Helm, Ralph Johnson, John M. Vlissides
    Last edited by cilu; December 6th, 2007 at 02:26 AM. Reason: added all authors

  6. #6
    Join Date
    Sep 2009
    Posts
    1

    Re: C++ General: What are good books about C++ ?

    I'd suggest "Sam's Teach Yourself" to be a great book for beginners.

    The latest version is Sam's Teach Yourself c++ in One Hour a Day eighth edition Dec 2016 which also has some coverage of c++17!
    https://www.amazon.co.uk/One-Hour-Sa...urself+c%2B%2B

    There is also Sam's Teach Yourself c++ in 24 hours sixth edition August 2016 which covers c++14.
    https://www.amazon.co.uk/d/Books/24-...s=sams+c%2B%2B

    Note the 24 hour book has 480 pages and the One Hour a Day book has 800 pages for only a small increase in the price!
    Last edited by 2kaud; June 11th, 2017 at 02:58 PM. Reason: Updated

  7. #7
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,187

    Re: C++ General: What are good books about C++ ?



    It's one of the most recently published and includes changes to the latest C++ standard, C++11.

    Note that there is now a 3rd edition that covers c++14
    https://www.amazon.co.uk/Professiona...sional+c%2B%2B
    Last edited by 2kaud; June 11th, 2017 at 10:46 AM. Reason: Updated
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: http://codexpert.ro/blog/author/ovidiu-cucu/

  8. #8
    Join Date
    May 1999
    Location
    Southern California
    Posts
    12,266

    Re: C++ General: What are good books about C++ ?

    The following is also worth mentioning. It seems that many really like it and many really do not. People should read the description of its purpose before purcahsing.

    Programming: Principles and Practice Using C++
    Bjarne Stroustrup
    Addison-Wesley Professional
    ISBN-10: 0321543726
    ISBN-13: 978-0321543721
    "An Introduction to Programming by the Inventor of C++"

    A second edition is now available which covers c++14. See https://www.amazon.co.uk/Programming...s=c+stroustrup
    Last edited by 2kaud; June 11th, 2017 at 10:40 AM. Reason: Updated
    "Signature":
    My web site is Simple Samples.
    C# Corner Editor

  9. #9
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    5,835

    Re: C++ General: What are good books about C++ ?

    Quote Originally Posted by Emerald214 View Post
    I think "How to program C++" by Deitel is good for beginners.
    As of the date of this post, the current version is the 10th edition. See https://www.amazon.co.uk/How-Program...c%2B%2B+deitel

    Other books from which to learn c++ that could be considered include

    Problem Solving with c++ tenth edition by Walter Savitch
    https://www.amazon.co.uk/Problem-Sol...ywords=c%2B%2B

    Starting Out with c++ ninth edition by Tony Gaddis
    https://www.amazon.co.uk/Starting-Ou...ywords=c%2B%2B

    c++ Programming eighth edition by D Malik
    https://www.amazon.co.uk/dp/13371175...7186855&sr=1-1

    Programming: Principles and Practice Using C++ second edition by Bjarne Stroustrup
    https://www.amazon.co.uk/Programming...actice+using+c

    Note that some of these books are available in different formats (eg loose leaf, with MyLab programming etc)

    Also note that the current c++ standard is c++14, with c++17 due to be published shortly. It is unlikely that any c++ book published prior to 2015 will cover c++14. The previous standard was c++11. As c++14 is a minor revision of c++11, c++11 books are still relevant with that caveat. In that case books published after 2012 may be considered. IMO I would avoid c++ books published prior to 2012 as they are unlikely to cover c++11 which is a major change to the previous c++98 standard.

    and finally... for those that want the definitive reference for c++11 there is

    The c++ Programming Language fourth edition by Bjarne Stroustrup
    https://www.amazon.co.uk/d/cka/C-Pro...s=c+stroustrup
    Last edited by 2kaud; June 11th, 2017 at 03:01 PM.
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++17 Compiler: Microsoft VS2017 (15.4.4)

  10. #10
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    5,835

    Re: C++ General: What are good books about C++ ?

    Last edited by 2kaud; June 11th, 2017 at 12:14 PM.
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++17 Compiler: Microsoft VS2017 (15.4.4)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


On-Demand Webinars (sponsored)