CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 14 of 14
  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; December 8th, 2017 at 03:56 AM. Reason: Updated for edition changes

  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 09: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 12: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 09: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 01:58 PM. Reason: Updated

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

    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 4th edition that covers c++17
    https://www.amazon.co.uk/Professiona...ywords=c%2B%2B
    Last edited by 2kaud; April 10th, 2018 at 10:41 AM. Reason: Updated
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

  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 09: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
    7,822

    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. (c++14) 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=savitch

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

    (new version 19 Sept 2018 https://www.amazon.co.uk/Starting-Co...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++17. It is unlikely that any c++ book published prior to late 2017 will cover c++17. The previous standard was c++14. c++17 introduced several new concepts to the c++ language which make for a more 'modern' language.

    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

    When choosing a book, please remember that the c++ language evolves (c++98, c++11, c++14, c++17 etc) and that whilst older editions of a book - or a book published before the current c++ language was standardised - may be cheaper than the latest version, it won't cover the latest standard and practices.
    Last edited by 2kaud; June 14th, 2018 at 09:58 AM. Reason: Updated information
    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++23 Compiler: Microsoft VS2022 (17.6.5)

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

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

    Last edited by 2kaud; June 11th, 2017 at 11:14 AM.
    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++23 Compiler: Microsoft VS2022 (17.6.5)

  11. #11
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,822

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

    Also consider for learning c++17

    Beginning c++17 by Ivor Horton

    https://www.amazon.co.uk/Beginning-C...ywords=c%2B%2B

    This latest edition has been fully updated to the latest version of the language, C++17, and to all conventions and best practices of so-called modern C++. Beginning C++17 also introduces the elements of the C++ Standard Library that provide essential support for the C++17 language.
    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++23 Compiler: Microsoft VS2022 (17.6.5)

  12. #12
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

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

    Professional C++, 4th Edition by Marc Gregoire (CodeGuru's MarcG)

    http://www.wrox.com/WileyCDA/WroxTit...119421306.html

  13. #13
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,234

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

    Modern C++ Programming Cookbook (CodeGuru's Marius Bancila)

    https://www.amazon.com/dp/1786465183
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

  14. #14
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    7,822

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

    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++23 Compiler: Microsoft VS2022 (17.6.5)

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
  •  





Click Here to Expand Forum to Full Width

Featured