Buy new:
-71% $23.39$23.39
Delivery Friday, October 11
Ships from: Amazon Sold by: NEVER STOP WORKING
Save with Used - Very Good
$12.22$12.22
Delivery Friday, October 11
Ships from: Amazon Sold by: BOOK PALACE 1907
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
The C++ Programming Language Subsequent Edition
There is a newer edition of this item:
Purchase options and add-ons
- ISBN-100201889544
- ISBN-13978-0201889543
- EditionSubsequent
- PublisherAddison-Wesley Professional
- Publication dateJanuary 1, 1997
- LanguageEnglish
- Dimensions7.75 x 1.25 x 9.5 inches
- Print length910 pages
Frequently bought together

Customers who bought this item also bought
Editorial Reviews
Amazon.com Review
Past readers will find that the new edition has changed a great deal and grown considerably to encompass new language features, particularly run-time type identification, namespaces, and the standard library. At the same time, readers will recognize the lucid style and sensible advice that made previous editions so readable and enjoyable. Probably the biggest change is a substantial new section, well over 200 pages in length, covering the contents and design of the C++ standard library, the most important new feature of the C++ specification. The author has also added a substantial number of new exercises while keeping many from previous editions that have retained their value.
While The C++ Programming Language is not a C++ tutorial, strictly speaking, anyone learning the language, especially those coming from C, will greatly benefit from the clear presentation of all its elements. It is impossible to overstate the importance of this book for anyone who is serious about using C++.
Review
Bjarne Stroustrup's The C++ Programming Language, Third Edition (Addison-Wesley, 1997) has been available for several months. This work, by the creator of C++, is the definitive treatment of the subject and has been since its first edition in 1987. I must confess that I did not care for the first edition. I had expected a tutorial approach as elegant as the classic K&R white book. But then, K&R was about C, a programming language that supported a familiar programming model. The C++ programming model was new to most of us ten years ago, and Stroustrup's first edition was daunting, to say the least. Looking at it now, I find it far less so and much easier to read.
Comparing the first and third editions of The C++ Programming Language provides insight into how the C++ language has grown and changed in the past decade. The third edition has almost three times the number of pages and a slightly different organization. Whereas the first edition included a 67-page language reference manual at the end, the third edition includes only a language grammar section to represent formal language definition. This is appropriate. The ANSI/ISO Standard document, which is now the formal language and library definition, is itself about 750 pages long. Stroustrup plans to publish The Annotated C++ Language Standard (coauthored by Andrew Koenig, the ANSI C++ committee's Project Editor) sometime this year.
The third edition takes a tutorial approach with many of Stroustrup's personal programming philosophies. The author's explanations of how he uses language features provide examples for learning the behavior of those features. He also explains code idioms that some programmers routinely use but that he finds inappropriate.
As much as possible, the third edition reflects Standard C++. When small language features are found to be missing, particularly new ones, Stroustrup pledges to add them to a future printing...
This book is an essential addition to a C++ programmer's library. It is not for dummies, and it wouldn't be my first choice for an entry-level, self-help tutorial on C++ for beginning programmers. It is, however, an excellent textbook for programmers who are self-motivated and students who study under the watchful care of a skilled instructor. As an experienced C++ programmer, I find the book useful as a reference to language usage and behavior. The author invented the language and then stayed close to the standardization and innovation process for the duration, always maintaining a careful vigilance over the evolution of his brainchild. Consequently, this book serves, for those who do not care to pore over the ANSI/ISO document (or the promised annotated version), as the authority on the Standard C++ language, how it works, and how you should use it. -- Al Stevens, Dr. Dobb's Journal -- Dr. Dobb's Journal
From the Back Cover
NOTE: Customers of this book, Errata for page 833 is now available in pdf form and can be downloaded from this page.
This is a complete rewrite of the most widely read and most trusted book on C++. Based on the ANSI/ISO C++ final draft, this book covers the C++ language, its standard library, and key design techniques as an integrated whole.
The C++ Programming Language provides comprehensive coverage of C++ language features and standard library components. For example:
- abstract classes as interfaces
- class hierarchies for object-oriented programming
- templates as the basis for type-safe generic software
- exceptions for regular error handling
- namespaces for modularity in large-scale software
- run-time type identification for loosely coupled systems
- the C subset of C++ for C compatibility and system-level work
- standard containers and algorithms
- standard strings, I/O streams, and numerics
With this third edition, Stroustrup makes C++ even more accessible to those new to the language while adding information and techniques that even expert C++ programmers will find invaluable.
About the Author
Excerpt. © Reprinted by permission. All rights reserved.
The C++ Programming Language, Third Edition
Bjarne Stroustrup
Preface
Programming is understanding.- Kristen Nygaard
I find using C++ more enjoyable than ever. C++'s support for design and programming has improved dramatically over the years, and lots of new helpful techniques have been developed for its use. However, C++ is not just fun. Ordinary practical programmers have achieved significant improvements in productivity, maintainability, flexibility, and quality in projects of just about any kind and scale. By now, C++ has fulfilled most of the hopes I originally had for it, and also succeeded at tasks I hadn't even dreamt of.
This book introduces standard C++* and the key programming and design techniques supported by C++. Standard C++ is a far more powerful and polished language than the version of C++ introduced by the first edition of this book. New language features such as name spaces, exceptions, templates, and run-time type identification allow many techniques to be applied more directly than was possible before, and the standard library allows the programmer to start from a much higher level than the bare language.
About a third of the information in the second edition of this book came from the first. This third edition is the result of a rewrite of even larger magnitude. It offers something to even the most experienced C++ programmer; at the same time, this book is easier for the novice to approach that its predecessors were. The explosion of C++ use and the massive amount of experience accumulated as a result makes this possible.
The definition of an extensive standard library makes a difference to the way C++ concepts can be presented. As before, this book presents C++ independently of any particular implementation, and as before, the tutorial chapters present language constructs and concepts in a "bottom up" order so that a construct is used only after it has been defined. However, it is much easier to use a well-designed library than it is to understand the details of its implementation. Therefore the standard library can be used to provide realistic and interesting examples well before a reader can be assumed to understand its inner workings. the standard library itself is also a fertile source of programming examples and design techniques.
This book presents every major C++ language feature and the standard library. It is organized around language and library facilities. However, features are presented in the context of their use. That is, the focus is on the language as the tool for design and programming rather than on the language in itself. This book demonstrates key techniques that make C++ effective and teaches the fundamental concepts necessary for mastery. Except where illustrating technicalities, examples are taken from the domain of systems software. A companion, The Annotated C++ Language Standard, presents the complete language definition together with annotations to make it more comprehensible.
The primary aim of this book is to help the reader understand how the facilities offered by C++ support key programming techniques. The aim is to take the reader far beyond the point where he or she gets code running primarily by copying examples and emulation programming styles from other languages. Only a good understanding of the ideas behind the language facilities leads to mastery. Supplemented by implementation documentation, the information provided is sufficient for completing significant real-world projects. The hope is that this book will help the reader gain new insights and become a better programmer and designer.
Acknowledgements
In addition to the people mentioned in the acknowledgment section of the first and second editions, I would like to thank Matt Austern, Hans Boehm, Don Caldwell, Lawrence Crowl, Alan Feuer, Andrew Forrest, Tim Griffin, Peter Juhl, Brian Kernighan, Andrew Koenig, Mike Mowbray, Rob Murray, Lee Nackman, Joseph Newcomer, Alex Stepanov, David Vandevoorde, Peter Weinberger, and Chris Van Wyk for commenting on draft chapters of this third edition.
I would also like to thank the volunteers on the C++ standards committees who did an immense amount of constructive work to make C++ what it is today. It is slightly unfair to single out individuals, but it would be even more unfair not to mention anyone, so I'd like to especially mention Mike Ball, Dag Brück, Sean Corfield, Ted Goldstein, Kim Knutilla, Andrew Koenig, Josée Lajoie, Dmitry Lenkov, Nathan Myers, Martin O'Riordan, Tom Plum, Jonathan Shopiro, John Spicer, Jerry Schwarz, Alex Stepanov, and Mike Vilot, as people who each directly cooperated with me over some part of C++ and its standard library.
Bjarne Stroustrup
Murray Hill, New Jersey
*At the time of writing, the C++ Standard is still only a "Final Committee Draft Standard." However, no significant changes to the language or the standard library are anticipated.
0201889544P04062001
Product details
- Publisher : Addison-Wesley Professional; Subsequent edition (January 1, 1997)
- Language : English
- Paperback : 910 pages
- ISBN-10 : 0201889544
- ISBN-13 : 978-0201889543
- Item Weight : 3 pounds
- Dimensions : 7.75 x 1.25 x 9.5 inches
- Best Sellers Rank: #764,980 in Books (See Top 100 in Books)
- #124 in C Programming Language
- #2,300 in Computer Software (Books)
- #7,458 in Mathematics (Books)
- Customer Reviews:
About the author

Bjarne Stroustrup is the designer and original implementer of C++.
He is a founding member of the ISO C++ standards committee and a major contributor to modern C++.
He worked at Bell Labs and is now a professor at Columbia University and a fellow of Churchill College, Cambridge.
He is a member of the USA National Academy of Engineering, an ACM, IEEE, and CHM Fellow.
He is a recipient of the Draper Prize.
His publication list is as long as your arm. For details, see his home pages (www.stroustrup.com)
Related products with free delivery on eligible orders
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the book detailed and informative for formal study. They say it's the best book to learn C++. However, some readers feel the text is not easy to read and navigate through.
AI-generated from the text of customer reviews
Customers find the book very detailed and informative. They say it's an excellent reference for formal study, a great summary, and the best book to learn C++. Readers also mention it explains all the important features of the language.
"This book is excellent as a tutorial. I've programmed before in commercial languages for research, but had no experience with C or C++...." Read more
"...But in any event, I will keep this book near as it contains very detailed information that spans practically every aspect of C++." Read more
"...It is written in the classic Unix book style, i.e., the book serves both as a C++ tutorial, meant to be read cover to cover to learn all of C++'s..." Read more
"This book has everything it advertises. It gives you an in-depth description of the language and plenty of examples of how to use it...." Read more
Customers find the book dense and heavy, but it's strong enough to keep all pages.
"...It is a compact, dense, authoritative reference for the C++ language.It is not a handholding tutorial...." Read more
"...Soft cover makes it easier to handle.Book is heavy but strong enough to keep all pages." Read more
"extremely dense..." Read more
Customers find the book not terribly easy to read. They also say there is far too much text to navigate through to find what they want.
"...Function names like 'f', 'g' or field names like 'm' or 's' are not easy to read and suitable just for very trivial examples but not well suited for..." Read more
"It's a hard read. But after reading it you will use it as a reference and realize that there are NO mistakes at all. The book is perfect...." Read more
"Comprehensive but there is far too much text to navigate through to find what you want...." Read more
"this book is indeed difficult to read...." Read more
Reviews with images
Great condition!
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
The tour (chap 2 and 3) are meant to give you an overview of classes and what C++ can do. The reader is not expected to apply it until getting a more nuts and bolts grasp of the language (chap 4 to approximately 9). By the time you reach chap 7 or 8, even though the subjects of chap2 and 3 are not visited again, classes and some of the standard templates such as vector, string, cin, become clear. From chap 4 on, each subject is presented in enough detail to apply it. The discussion about Exceptions (chap 8) is a good example of how subjects are explained slowly. Stroustrup builds up the subject with the simplest case first, and give you the code right there in the text so that it is easy to understand the basics. He adds one feature at a time and gives example code, so the following features are also easy to follow. The whole idea about how to structure code beginning with 6.1 the desk top calculator and reworking it in 7 and through namespaces in 8 is another example of how concepts are built up slowly through repetition with small modification.
The exercises are excellent and instructive. He goes through all the main points in them, and once you are through with that you will be able to apply each chapter's material. Understanding does require studying the few lines he gives at each time though. Those examples he picks are what you need to learn. To solve the problems, short and terse text is good, for you have less material to search through. Everything to complete them is in the book in order. The only reading ahead I needed was to look up a function which only required reading a page or two. As you practice, you will naturally read through much of the Standard Template Library discussions (for vectors, lists, streams, iterators, strings etc). By the time you figure out the exercises, you will have figured out the basic concepts. I found that the book contains nearly all the example code needed. Every time I asked how to do something I found Stroustrup gives you the example right there in the first few chapters. Rarely did I ask a question that wasn't answered in the book. That demonstrates an excellent choice of topics for learning.
In summary my approach was to take a few hours with each chapter of approximately 20 pages and read it thoroughly until I felt I understood it. I referred to earlier sections as the author indicated when necessary for a reminder. I often found new meaning and more clarity in those sections. Working through most of the problems allowed me to apply or implement the example code in a way that no amount of reading could do.
The book is written with mathematical precision. Much of the author's scientific contribution went to developing the language, and obviously writing compilers for it. Actually, the author has made the rules of the language relatively simple and general, especially given the language's power. Learning the language through his book, one can get the thought process that went into developing this profoundly influential language, in a way that would be difficult to get any other way. After hundreds of thousands of programmers learned C++ through this book, it is extremely difficult to find a typo or mistake.
Stroustrup deliberately treats the simplest and most basic structures first so that a programmer can get started without having to understand the abstract ideas of object oriented programming. The book is not just a reference. For learning the foundations of the language, it is an excellent choice. My advice is to read it sequentially, review the "Tour" (chap 2&3), work through the exercises, and compare with David Vandevoorde's "C++ solutions".
That said, this is a truly amazing book. You will never, ever, ever find a more in depth description of the language, it's features and caveats, and how to make the language do what you want it to do and make programming simple in large systems. When you reach a certain point it isn't as simple as "okay let's have a class with some get and set methods here". You must have a thorough understanding of some extremely advanced features, and this book will definitely get you to that point if you put in the time. The way the explanations are worded and the examples that are given are difficult to understand because there's no simple way to explain such advanced concepts. And if you are one of the people that think there _is_ an easy way to explain such concepts in the same amount of detail, I invite you to go find an easy explanation of mathematical Field Theory or Quantum Physics.
If you are smart, part of the target audience, and mature enough to handle it, I doubt you will be able to find a better book.
And for those who are still convinced that simpler is better, I wonder if you can explain to me *why* overriding a function in a derived class makes all of its overloads in the base class inaccessible.
On the other hand, it does a great job of demonstrating the usefulness of nearly all of C++'s language features, providing instruction more as to the how and when to use the feature than instruction into what a given feature is, and the underlying understanding the programmer will probably need to make use of them.
C++ is a large language, and before this book I had the impression that it's feature set was made with the "everything but the kitchen sink" attitude. But this books makes it seem smaller and more cohesive by indicating what type of problem domains the various features are made to conveniently express, and thus which features are useful for a given program and which can be safely ignored.
I do plan on using this as a reference text, but I think it is best used by starting on page one, and then iterating through the pages one by one. It shouldn't take too long if you already know the majority of C++, but if it is painful to do this then an introductory text might be in order. Or, perhaps reading C Programming Language (2nd Edition) which is a good introductory, advanced, and reference text for the C language, would be sufficient for some people. Both that book and this one have the advantage of treating the reader as intellectual equals, who simply are not yet informed of the material being exposited.
Top reviews from other countries
Ich arbeite seit einigen Jahren als Software-Entwickler vornehmlich mit C++, meist mit der Visual-C++ Umgebung . Ich habe viel Literatur über C++ gelesen insbesondere aus der "C++ In-Depth Series". Natürlich ist letztere noch um einiges tiefer, die wichtigsten Regeln und hilfreichen Konventionen für die Codierung mit C++ sind in dem Buch von Herrn Stroustrup aber auch alle erklärt (z.B. Prevent Copying, sinnvoller Einsatz von namespaces, ...).
Alle wichtigen Themen für die Programmierung mit C++ sind beschrieben. Auch das (meiner Meinung nach in anderen Büchern öfter vernachlässigte) Thema rund um Quellcode-Dateien, Kompilierungseinheiten und Linking findet sich in einem eigenen Kapitel.
Jedes Kapitel endet mit einer Zusammenfassung der wichtigsten Tipps und sinnvollen Konventionen die in dem Kapitel beschrieben wurden. Dies und die Übungsaufgaben (zu denen es im Buch aber leider keine Musterlösungen gibt) empfand ich als sehr hilfreich.
Ich denke, dass Buch ist nicht geeignet für absolute Anfänger, die C++ lernen wollen. Dafür gibt es bessere Literatur. Absoluter C++ oder OO-Profi muss man für die Lektüre des Buches aber auch nicht sein. Die grundlegenden Ideen, vor allem eben auch die Konzepte der objektorientierten Programmierung sind sehr schön und gut nachvollziehbar erklärt.
Für mich (als Erfahrenen, aber nicht Super-Crack) war das Buch eine Mischung aus Bestätigung vieler Konventionen die man als Erfahrungen als C++-Entwickler gesammelt hat und einiger neuen Einsichten.
Ich empfehle das Buch jedem der sich ernsthaft mit C++ beschäftigt. Irgend wie hat man das Gefühl dieses Buch unbedingt einmal gelesen haben zu müssen :-)
E' in inglese, consiglio soprattutto di comprarlo in inglese, anche se le prime volte può essere un pò difficoltoso, nel campo dell'informatica conviene saper apprendere direttamente dall'inglese.

