Buy new:
-19% $40.35$40.35
Delivery Monday, October 14
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Good
$14.66$14.66
Delivery Wednesday, October 16
Ships from: Amazon Sold by: designcentral
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 authors
OK
Accelerated C++: Practical Programming by Example 1st Edition
Purchase options and add-ons
Want to learn how to program in C++ immediately? Want to start writing better, more powerful C++ programs today? Accelerated C++'s uniquely modern approach will help you learn faster and more fluently than you ever believed possible. Based on the authors' intensive summer C++ courses at Stanford University, Accelerated C++ covers virtually every concept that most professional C++ programmers will ever use -- but it turns the "traditional" C++ curriculum upside down, starting with the high-level C++ data structures and algorithms that let you write robust programs immediately. Once you're getting results, Accelerated C++ takes you "under the hood," introducing complex language features such as memory management in context, and explaining exactly how and when to use them. From start to finish, the book concentrates on solving problems, rather than learning language and library features for their own sake. The result: You'll be writing real-world programs in no time -- and outstanding code faster than you ever imagined.
- ISBN-10020170353X
- ISBN-13978-0201703535
- Edition1st
- PublisherAddison-Wesley Professional
- Publication dateSeptember 18, 2000
- LanguageEnglish
- Dimensions7.4 x 1 x 9.15 inches
- Print length352 pages
Frequently bought together

Products related to this item
Editorial Reviews
Amazon.com Review
What separates this title from the rest of the pack is that it jumps right in with samples that take advantage of the Standard C++ of today--from streams to built-in container classes, such as vectors and linked lists. Early examples are more complex than in other books, but the thoroughness and relaxed pace of the explanations will bring the novice up to speed. (Although it ships at a slender 350 pages, Accelerated C++ is packed with samples, tips, and example problems; about 10 per chapter.)
After a tour of basic C++, the book looks at more advanced C++ features, such as templates, including built-in support for containers. Besides tapping the strength of Standard C++, you also will learn to design with your own templates. (Other tutorials would defer this material until later on.) The authors have tested the approach in the book in their own teaching, and honed a set of worthwhile examples that will help anyone get familiar with these powerful language features. All examples make use of the command line and console (without GUI programs), but the advantage is that this code should run on any of today's operating systems and compilers. Later sections cover the basics of class design, which include good coverage of operator overloading and inheritance.
With its innovative approach to teaching the language, Accelerated C++ will challenge readers in the right way. It suggests that you don't need to learn C to be productive in C++. Written in an approachable style, it deserves a close look from any C++ novice. --Richard Dragan
Topics covered:
- Introduction to C++
- Console I/O with stream classes
- Basic string handling
- Loop and flow-control statements
- Arrays
- Using functions and methods
- Using Standard Template Library (STL) containers (vectors, linked lists, and maps)
- Iterators
- Sorting and generic functions
- Basic class design
- Pointers and arrays
- File I/O
- Memory-management techniques, including statically and dynamically allocated memory
- Adding stream support to custom classes
- Conversion operators
- Operator overloading
- Friend functions
- Inheritance
- Polymorphism and virtual functions
- Handle idioms for classes, including reference counting
- Quick reference to the C++ language
From the Back Cover
This is a first-rate introductory book that takes a practical approach to solving problems using C++. It covers a much wider scope of C++ programming than other introductory books I've seen, and in a surprisingly compact format.
--Dag Brück, founding member of the ANSI/ISO C++ committeeThe authors present a clear, cogent introduction to C++ programming in a way that gets the student writing nontrivial programs immediately.
--Stephen Clamage, Sun Microsystems, Inc., and chair of the ANSI C++ committeeAnyone reading just this one book and working through the examples and exercises will have the same skills as many professional programmers.
--Jeffrey D. Oldham, Stanford UniversityWhy is Accelerated C++ so effective? Because it
- Starts with the most useful concepts rather than the most primitive ones: You can begin writing programs immediately.
- Describes real problems and solutions, not just language features: You see not only what each feature is, but also how to use it.
- Covers the language and standard library together: You can use the library right from the start.
Whether you are eager to get started writing your first C++ programs, or you are already using C++ and seeking deeper understanding, the authors' unique approach and expertise make Accelerated C++ an indispensable addition to your library.
020170353XB04062001
About the Author
Andrew Koenig is a member of the Large-Scale Programming Research Department at AT&T's Shannon Laboratory, and the Project Editor of the C++ standards committee. A programmer for more than 30 years, 15 of them in C++, he has published more than 150 articles about C++, and speaks on the topic worldwide.
Barbara E. Moo is an independent consultant with 20 years' experience in the software field. During her nearly 15 years at AT&T, she worked on one of the first commercial products ever written in C++, managed the company's first C++ compiler project, and directed the development of AT&T's award-winning WorldNet Internet service business.
0
Product details
- Publisher : Addison-Wesley Professional; 1st edition (September 18, 2000)
- Language : English
- Paperback : 352 pages
- ISBN-10 : 020170353X
- ISBN-13 : 978-0201703535
- Item Weight : 1.15 pounds
- Dimensions : 7.4 x 1 x 9.15 inches
- Best Sellers Rank: #268,161 in Books (See Top 100 in Books)
- #61 in C++ Programming Language
- #139 in Computer Programming Languages
- #694 in Computer Software (Books)
- Customer Reviews:
About the authors

Discover more of the author’s books, see similar authors, read book recommendations and more.

Discover more of the author’s books, see similar authors, read book recommendations and more.
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 introduction great and encouraging good programming practices. They also say the chapters jump all over the place and are not stand-alone. Readers also mention that the difficulty level of the exercises is inconsistent. Opinions are mixed on the pacing, with some finding it concise and well-written, while others say it's impossible to understand in later chapters without having memorized the book.
AI-generated from the text of customer reviews
Customers find the book's introduction great and encouraging good programming practices. They say it explains unobvious ideas and gets them up to speed in very short time. Readers also mention the book is informative and concise, with minimal belaboring of simple concepts like variables and loops.
"...In a nutshell, this book is great at what it intends to be: a fast-paced, authoritative, and pedagogically sound introduction to (1998/2003)..." Read more
"...The only critical remarks I have is that the book gives many very useful examples that really need to be followed and programmed by the reader and..." Read more
"...In a nutshell, it's a refreshing look at C++ and if not able to stand on its own, is a must have supplement for anyone learning or using the language..." Read more
"...Library (a subset of which is the STL) which is an excellent library for common data structures and algorithms that operate on them...." Read more
Customers appreciate the book's length. They say it's short and not too large as to scare them away.
"...The length is not so large as to scare away; some similar books are so long that it would take a year to seriously plow through them...." Read more
"...So, what is good about the book? It's short. If you look at most books on C++, they are very big, because C++ is very big...." Read more
"Informative and short. Recommended if you want a quick read and already know some object oriented language" Read more
"...It is short and to the point but at the same time, it contains quite a large amount of material...." Read more
Customers have mixed opinions about the pacing of the book. Some mention it's concise and well-written, while others say it doesn't really explain anything cleanly, is vague, and confusing.
"...important for the purposes of this review is that the authors are not only knowledgeable, but are also great teachers: they have used the material..." Read more
"...As written, it's very confusing to actually enter data to get it to run correctly...." Read more
"...The explanations are all excellent and clear, and teach you not only the basic C++ language, object-oriented programming, and STL features such as..." Read more
"...The book explains these concepts very well throught the ongoing development of a student grading program, going all the way up to using templates..." Read more
Customers have mixed opinions about the material quality of the book. Some mention it's excellent, while others say it's not great and the quality of paper is very thin.
"...There's nothing wrong with this, but it does get a little stale, and it would be refreshing to see alternate examples...." Read more
"...Also I received the book in excellent condition and much quicker than I anticipated." Read more
"...this is my first shadow box purchase but I do think the materials are a bit flimsy for the cost." Read more
"Very bad condition and not worth 25$." Read more
Customers find the chapter order of the book to be inconsistent. They mention the authors make references to subsequent chapters too often, which means the chapters cannot be read out of order. Readers also say each chapter is not stand-alone and leaves them feeling lost in the current chapter.
"...This means that the chapters cannot really be read out of order...." Read more
"...But again, this kind of ties into this book's problems. Each chapter is not stand-alone, which is a pain...." Read more
"...This book does neither.5. The authors refer to subsequent chapters way too often...." Read more
"...This leaves one feeling lost in the current chapter...." Read more
Customers find the exercises in the book not consistent.
"...Also, the difficulty level of the exercises is not consistent (e.g. some have already been worked out in the provided source code)...." Read more
"...Here are some major flaws with the book:1. The exercises are often unclear. You're left wondering what they're really asking you to do...." Read more
"...It is really difficult to do some of the exercises, but there are plenty of websites full of programmers that are willing and able to help you..." Read more
"...The exercises are difficult (and there's no solutions), and the chapters jump all over the place, topically...." Read more
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
The Good: This book does not talk down to the reader. It assumes that you are intelligent and implicitly expects you to have previously come into contact with either procedural or object-oriented programming. Many different topics are covered in a short space (around 300 pages in total), but the text is highly readable owing to the authors's relaxed tone, as well as their many cross-references and their detailed explanations of the examples (after all, the book's subtitle is "practical programming by example"). Equally important, the authors have provided on their website the source code for all the examples in the book (and more), packaged for different platforms. As should be obvious, modifying, compiling, and running the code in parallel to reading the text is integral to understanding the concepts being introduced. In contradistinction to many other popular volumes, this book teaches real C++, not "C with classes". To illustrate this point, let me note that pointers and arrays are only introduced in Chapter 10 (of 16). "Accelerated C++" jumps right in and describes a variety of topics that are of use to professional C++ programmers, such as standard library algorithms, templates, allocators, dynamic binding, and more.
The Bad: Some readers may find the student-grading and character-pictures examples a little boring (though what simple example isn't somewhat boring?). Also, the difficulty level of the exercises is not consistent (e.g. some have already been worked out in the provided source code). This book isn't really great as a reference: new concepts are introduced when they are needed for the purposes of the examples. This means that the chapters cannot really be read out of order. Futhermore, certain things like bitsets, switches, enums, and multiple inheritance are either relegated to the Appendices or are not mentioned at all. In a similar vein, object-oriented programming is not thoroughly discussed (as can be expected from such a short book): e.g., inheritance is introduced in chapter 13 (of 16). Finally, this book was published in 2000 and quite a bit has changed in the meantime. Most notably, we are now expecting a new standard to come out (still known as C++0x). Unfortunately, this book doesn't talk about TR1 (a specification for functionality being added to C++'s standard library) or boost (a collection of libraries offering TR1 implementations and much more), or threading in C++. A new edition of "Accelerated C++" apparently is in the works.
Lest the reader feel that I am being too negative, I note that it is impossible for one book to please everyone and cover everything, while being always up-to-date and still remaining short. In a nutshell, this book is great at what it intends to be: a fast-paced, authoritative, and pedagogically sound introduction to (1998/2003) standard C++ . This book definitely deserves 5 stars.
----------------
My two cents on recommended follow-ups:
* C++ Primer, 4th edition, by Stanley B. Lippman, Josee Lajoie, Barbara E. Moo
A great second book which can be used to solidify and expand your understanding. The "C++ Primer" is over 800 pages long, but it is so well written that it can either be read cover-to-cover or used as a reference (see also my review of it on amazon).
* Effective C++, 3rd edition, by Scott Meyers
This assumes you have already come across all of the material contained in "Accelerated C++" and in the "C++ Primer". It offers solid advice on numerous aspects of effective C++ development. Meyers also describes a few design patterns as well as more modern topics like TR1.
Alexandros Gezerlis
The only complaint I have about this book is a strength and a weakness. As the chapters progress, the main example problem they have you work with (a program to keep track of and calculate students grades) continues to evolve and increase in complexity and features, which is great. The problem is, they often ask you to add a feature or reimplement a feature, assuming that you've either got it right there in front of you, and/or remember precisely how it was implemented. If you don't work through this book in some consecutive period of time (which I didn't - I took some breaks and/or used various machines to do different parts, and as such didn't have all my code nicely organized in one place) then it can take a considerable amount of effort to reimplement and/or rediscover the particular code they're asking you to modify. This is a reasonable expectation. It's just that if you don't have the same machine with a nice, organized copy of your code as you progressed, or if you've not been looking at the material for some time, it takes a good deal of effort to catch back up with where they want you to be in order to get on with the exercise they're asking you to do.
All in all, I learned the most programming I've learned from any book by focusing on the problems and features highlighted in this book. The explanations are all excellent and clear, and teach you not only the basic C++ language, object-oriented programming, and STL features such as copy() and find() that are standard ways of doing common actions in C++.
Top reviews from other countries
Reviewed in Singapore on July 18, 2022
Le style est excellent, cela rend la lecture beaucoup plus facile qu'un livre de référence. Une nouvelle édition couvrant C++11 serait la bienvenue, mais c'est bien là le seul bémol quant à cette édition.

