1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Best book for C++

Discussion in 'C, C++, C#' started by Eli679, Feb 2, 2012.

Thread Status:
Not open for further replies.
  1. Eli679

    Eli679 Newbie

    Joined:
    Feb 2, 2012
    Messages:
    15
    Likes Received:
    0
    Hi,
    I am new to this language. Though i have Let us c++ but apart from this i want to study from another book. Please tell some book lists for this C++.

    Thanks
     
  2. Edward.J

    Edward.J Newbie

    Joined:
    Feb 6, 2012
    Messages:
    3
    Likes Received:
    0
    First tell me that up to what and which level you can understand or have knowledge of this language already ?
    Thanks.
     
  3. paincake

    paincake Power Member

    Joined:
    Aug 18, 2010
    Messages:
    716
    Likes Received:
    3,099
    Home Page:
    If you're new to programming, the first book to read is "C++ Primer". If you already have programming experience, read "Accelerated C++".

    Reference Style - All Levels

    The C++ Programming Language (Bjarne Stroustrup) The classic introduction to C++ by its creator. Written to parallel the classic K&R, this indeed reads very much alike it and covers just about everything from the core language to the standard library, to programming paradigms to the language's philosophy. (Thereby making the latest editions break the 1k page barrier.) [Review]

    C++ Standard Library Tutorial and Reference (Nicolai Josuttis) The introduction and reference for the C++ Standard Library. [Review]

    The C++ IO Streams and Locales (Angelika Langer and Klaus Kreft) There's very little to say about this book except that, if you want to know anything about streams and locales, then this is the one place to find definitive answers. [Review]

    Beginner

    Introductory

    If you are new to programming or if you have experience in other languages and are new to C++, these books are highly recommended.

    C++ Primer† (Stanley Lippman, Josée Lajoie, and Barbara E. Moo) Coming at 1k pages, this is a very thorough introduction into C++ that covers just about everything in the language in a very accessible format and in great detail. Make sure you have the latest edition! [Review]

    Accelerated C++ (Andrew Koenig and Barbara Moo) This basically covers the same ground as the C++ Primer, but does so on a fourth of its space. This is largely because it does not attempt to be an introduction to programming, but an introduction to C++ for people who've previously programmed in some other language. It has a steeper learning curve, but, for those who can cope with this, it is a very compact introduction into the language. (Historically, it broke new ground by being the first beginner's book using a modern approach at teaching the language.) [Review]

    Thinking in C++ (Bruce Eckel) Two volumes; second is more about standard library, but still very good

    Programming: Principles and Practice Using C++ (Bjarne Stroustrup) An introduction to programming using C++ by the creator of the language. A good read, not only for beginners.

    † Not to be confused with C++ Primer Plus (Stephen Prata) [Review], a significantly worse book.

    Best practices

    Effective C++ (Scott Meyers) This was written with the aim of being the best second book C++ programmers should read, and it succeeded. Earlier editions were aimed at programmers coming from C, the third edition changes this and targets programmers coming from languages like Java. It presents ~50 easy-to-remember rules of thumb along with their rationale in a very accessible (and enjoyable) style. [Review]

    Effective STL (Scott Meyers) This aims to do the same to the part of the standard library coming from the STL what Effective C++ did to the language as a whole: It presents rules of thumb along with their rationale. [Review]

    Intermediate

    More Effective C++ (Scott Meyers) Even more rules of thumb than Effective C++. Not as important as the ones in the first book, but still good to know.

    Exceptional C++ (Herb Sutter) Presented as a set of puzzles, this has one of the best and thorough discussions of the proper resource management and exception safety in C++ through Resource Acquisition is Initialization (RAII) in addition to in-depth coverage of a variety of other topics including the pimpl idiom, name lookup, good class design, and the C++ memory model. [Review]

    More Exceptional C++ (Herb Sutter) Covers additional exception safety topics not covered in Exceptional C++, in addition to discussion of effective object oriented programming in C++ and correct use of the STL. [Review]

    Exceptional C++ Style (Herb Sutter) Discusses generic programming, optimization, and resource management; this book also has an excellent exposition of how to write modular code in C++ by using nonmember functions and the single responsibility principle. [Review]

    C++ Coding Standards (Herb Sutter and Andrei Alexandrescu) "Coding standards" here doesn't mean "how many spaces should I indent my code?" This book contains 101 best practices, idioms, and common pitfalls that can help you to write correct, understandable, and efficient C++ code. [Review]

    C++ Templates: The Complete Guide (David Vandevoorde and Nicolai M. Josuttis) This is the book about C++ templates. It covers everything from the very basics to some of the most advanced template metaprogramming and explains every detail of how templates work (both conceptually and at how they are implemented) and discusses many common pitfalls. Has excellent summaries of the One Definition Rule (ODR) and overload resolution in the appendices. [Review]

    Above Intermediate

    Modern C++ Design (Andrei Alexandrescu) A groundbreaking book on advanced generic programming techniques. Introduces policy-based design, type lists, and fundamental generic programming idioms then explains how many useful design patterns (including small object allocators, functors, factories, visitors, and multimethods) can be implemented efficiently, modularly, and cleanly using generic programming. [Review]

    C++ Template Metaprogramming (David Abrahams and Aleksey Gurtovoy)

    Classics / Older

    Note: Some information contained within these books may not be up to date or no longer considered best practice.

    The Design and Evolution of C++ (Bjarne Stroustrup) If you want to know why the language is the way it is, this book is were you find answers. This covers everything before the standardization of C++.

    Ruminations on C++ - (Andrew Koenig and Barbara Moo) [Review]

    Advanced C++ Programming Styles and Idioms (James Coplien) A predecessor of the pattern movement, it describes many C++-specific "idioms". It's certainly a very good book and still worth a read if you can spare the time, but quite old and not up-to-date with current C++.

    Large Scale C++ Software Design (John Lakos) Lakos explains techniques to manage very big C++ software projects. Certainly a good read, if it only was up to date. It was written long before C++98, and misses on many features (e.g. namespaces) important for large scale projects. If you need to work in a big C++ software project, you might want to read it, although you need to take more than a grain of salt with it. There's been the rumor that Lakos is writing an up-to-date edition of the book for years.

    Inside the C++ Object Model (Stanley Lippman) If you want to know how virtual member functions are commonly implemented and how base objects are commonly laid out in memory in a multi-inheritance scenario, and how all this affects performance, this is where you will find thorough discussions of such topics.
     
    • Thanks Thanks x 7
    Last edited: Feb 8, 2012
  4. hiderightnow

    hiderightnow Junior Member

    Joined:
    Jul 19, 2010
    Messages:
    104
    Likes Received:
    22
    The C++ Programming Language by Bjarne Stroustrup
    Effective C++ by Scott Meyers
    Two of the best c++ books ever written.
     
  5. dspa72

    dspa72 Junior Member

    Joined:
    Mar 31, 2008
    Messages:
    104
    Likes Received:
    16
    Home Page:
    a good book to start is Thinking in C++ by Bruce Eckel
    I think you can find a free version on the net
     
  6. Eaglez

    Eaglez Newbie

    Joined:
    Feb 26, 2012
    Messages:
    34
    Likes Received:
    8
    Anyone know if this book is any good? My brother just bought it the other day.

    "Sams Teach yourself C++ in one hour a day"
     
  7. backlinks1

    backlinks1 Junior Member

    Joined:
    Jul 13, 2011
    Messages:
    139
    Likes Received:
    43
    Here my book you can read !
    The C++ programming language - Bjrane Stroustrup
     
    • Thanks Thanks x 1
  8. backlinks1

    backlinks1 Junior Member

    Joined:
    Jul 13, 2011
    Messages:
    139
    Likes Received:
    43
    my library has alots of book about C++ . if you need ,pm me to get more !
     
    • Thanks Thanks x 1
  9. alohacampus

    alohacampus Newbie

    Joined:
    Mar 21, 2012
    Messages:
    6
    Likes Received:
    0
    i need link to your books , send via email plz !
     
  10. backlinks1

    backlinks1 Junior Member

    Joined:
    Jul 13, 2011
    Messages:
    139
    Likes Received:
    43
    i have many books if you really need pm me ! or contact me via email !
     
    • Thanks Thanks x 1
  11. sameer5762

    sameer5762 Elite Member

    Joined:
    Sep 23, 2009
    Messages:
    5,228
    Likes Received:
    1,468
    Occupation:
    Software engineer
    Location:
    http;//sameer5762.com
    Home Page:
    From which country are you mate ?
     
  12. smarty12

    smarty12 BANNED BANNED

    Joined:
    Mar 21, 2012
    Messages:
    12
    Likes Received:
    2
    I like Jesse Liberty " C ++ in 21 days "
     
  13. Saad Host

    Saad Host Newbie

    Joined:
    Mar 5, 2012
    Messages:
    5
    Likes Received:
    0
    I think the Best book for C++ is let us c.
     
  14. kuahara

    kuahara Newbie

    Joined:
    May 4, 2012
    Messages:
    21
    Likes Received:
    4
    Personally, I liked "Programming and Problem Solving with C++" by Nell Dale and Chip Weems.


    Have used a lot of beginner level books before, but felt this was the most effective and doesn't waste a lot of time.
     
Thread Status:
Not open for further replies.