Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

This book includes coverage of the Standard Template Library, one of the most significant additions to C++, and a topic you will have to master to be competitive in the C++ market. All the listings and examples use the new std namespace and in some of the more difficult areas, such as inheritance, the examples have been made more lucid and straight-forward. Also included is coverage of the latest object-oriented programming techniques such as UML, CRC cards and design patterns. TWG's C++ Primer Plus, Third edition makes understanding and experimenting with important object-oriented programming concepts like classes, inheritance, templates, and exceptions both interesting and manageable. It shows how to handle input and output, make programs perform repetitive tasks, manipulate data, hide information, use functions, and build flexible, easily modifiable programs.

Special offers and product promotions

Editorial Reviews

From the Back Cover

This book includes coverage of the Standard Template Library, one of the most significant additions to C++, and a topic you will have to master to be competitive in the C++ market. All the listings and examples use the new std namespace and in some of the more difficult areas, such as inheritance, the examples have been made more lucid and straight-forward. Also included is coverage of the latest object-oriented programming techniques such as UML, CRC cards and design patterns. TWG's C++ Primer Plus, Third edition makes understanding and experimenting with important object-oriented programming concepts like classes, inheritance, templates, and exceptions both interesting and manageable. It shows how to handle input and output, make programs perform repetitive tasks, manipulate data, hide information, use functions, and build flexible, easily modifiable programs.

Top customer reviews

This book give a reader a very nice touch of C++. Especially if you are a novice/beginner, this is the one that could help you become a real C++ programmer in a future. The explaination is clear, and the examples are nice and easy to understand. I recommend this one before moving on to the more advanced books like Lippman's C++ Primer and the more advanced books...later on.Of course, this book has some typos, but I don't really care about this. The content is far more important for me, and it should be for you also.

i'm 3/4 through and have been studying the book for a while now. so far i'm pretty happy. the authors writing style is pretty clear and the book has a good deal of information in it. however i feel he could be a little more concise with some explanations. it is definitely one of the better programming books i've read but nothing really great stands out about it.

This book was written for the beginner. If you have never seen C++ or any other computer language before or don't even have the slightest idea of computers, then read this book. The other customer reviews who gave this book a one star wrote their opinion from a professional point of view -- which is not the intended audience of this book. If you are an expert on C and C++ read another book. Beginners need a simple picture of C++ not tedious paragraphs. To understand the basics of the C++ language, a beginner needs only two things: 1) A simple summary of the command, and 2) an example. Unless your IQ is less than zero, then you will need extra help. C++ is a very complicated language; in other words, learning C++ is a never ending process -- you can be a professional and still learn new things about it; you can be a Phd. professor and still search for an explanation; you can even be working for Microsoft and still make new discoveries. As beginners, we want something quick. This book is like the first step on a long stairway. And if the beginner decides to pursue the depths of C++, the best resource would be your peers, colleagues, professors, and nowadays, we have the internet -- websites and chatrooms galore. All you have to do is ask. Besides, like basketball, the C++ language is self learned -- beginners need practice, practice, practice.

This is the first time I've felt a need to actually defend a book that not only was great but wrongly accused of being horrible.To the professor who used the book as a text book: A couple of things. First, you are right, its not ANSI C compliant -- because it is a C++ book that is ANSI/ISO Standard C++ compliant. Are you sure you are teaching the right class? And while C++ does inherit alot from C, they are not the same language. Try posting "C == C++?" on comp.lang.c++ sometime and see what kind of response you get. Second, Borland and Microsoft Visual C++ compilers are not perfect and do suffer from some deficiencies in their implementation of the standard. Again, post that question to c.l.c++. The book does a decent job of pointing out some of these problems and tells you what you will need to do to correct them but of course it can't cover every single problem for every version. If you are going to teach Standard C++, use a compiler that implements the standard fully.To the person who felt slighted because the "plus" should have meant something more: The plus in C++ Primer Plus does not indicate a more advanced book over another beginner guide but that it is a book that covers all the beginner (primer) information plus some more advanced information like the STL. Don't attack the author of the book because you can't read a table of contents. Flip through the book. Does it contain information that you already know about? Then don't buy it.Enough ranting. C++ Primer Plus is an excellent beginner's guide. Stephen Prata's explanation of programming concepts and ideas are top notch. Not only does he explain a topic throughly at each point that it becomes important, he uses examples later that reinforces your knowledge of the subject. Also, he doesn't overwelm you with dense text but steps through each aspect and gives sufficient explanation of each step so you know exactly what is going on.Another plus are the Review Questions and the Excercises. Every beginning programming book should have them, maybe even some of the advanced ones. By actively learning by answering the Review Questions and doing the Excercises rather than passively learning by reading the book, you understand the concepts more fully and can better grasp the more advanced concepts as they are presented.Two gripes I do have. Yes there are some typos and code errors but I have never read a programming book that didn't. Even the highly respect books by Bjarne Stroustrup, father of C++, contain errors. Unfortunately you can't "compile" a book and hand checking can only do so much. Then there are editors and typesetters who can add mistakes. They happen. The difference is that most publishers provide an errata to their books so readers can find out the corrections to the copies of the books they have. Sams Publishing, as of this writing, doesn't do that -- but at the same time, that's the fault of the publisher, not the author.Second, and this really is for most beginner programming texts, I wish authors would through in harder excercises to text skills with. Stephen Prata does a decent job at this but they could have been better. There needs to be some ultimate test of a person's ability and especially if this is the readers first programming experience they need to learn the logic fundamentals of thinking through a problem and arriving at a solution. A rating system for each excercise (1 - piece of cake to 5 - really tough) would be sufficient.Who this book is for: This book is strictly for people who either are learning a programming language for the first time, especially a low level programming language. Also if you have programmed before but not for many years then this book may be perfect for you. If this sounds like you and you want the perfect guide to learning C++, Buy this Book!