Automotive Holiday Deals Up to 50% Off Select Books Shop Men's Athletic Shoes Learn more nav_sap_SWP_6M_fly_beacon Indie for the Holidays egg_2015 All-New Amazon Fire TV Grocery Gifts for Her Amazon Gift Card Offer cm15 cm15 cm15 $30 Off Amazon Echo $30 Off Fire HD 6 Kindle Cyber Monday Deals Indie for the Holidays in Prime Music Shop Now Tikes
Practical C++ Programming and over one million other books are available for Amazon Kindle. Learn more

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.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your email address or mobile phone number.

Practical C++ Programming, Second Edition 2nd Edition

23 customer reviews
ISBN-13: 063-6920004196
ISBN-10: 0596004192
Why is ISBN important?
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$5.66 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$32.29 On clicking this link, a new layer will be open
More Buying Choices
28 New from $28.28 44 Used from $1.57
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

Deals in Books
$32.29 FREE Shipping on orders over $35. In Stock. Ships from and sold by Gift-wrap available.

Frequently Bought Together

  • Practical C++ Programming, Second Edition
  • +
  • C++ Cookbook (Cookbooks (O'Reilly))
  • +
  • C++ in a Nutshell
Total price: $90.90
Buy the selected items together

Special Offers and Product Promotions

  • Take an Extra 30% Off Any Book: Use promo code HOLIDAY30 at checkout to get an extra 30% off any book for a limited time. Excludes Kindle eBooks and Audible Audiobooks. Restrictions apply. Learn more | Shop now

Editorial Reviews


"When I picked up Practical C++ I was very skeptical, I've read numerous books aimed at beginner/intermediate readers and very few of them left any lasting impression on me. This book however, did! It's an excellent book, and it feels like it's written by a programmer and not an academic as most tend to. Not only are you going to learn about C++ in the easiest way possible, you're going to learn a lot of tips from someone who's been developing in C++ a long time. ... But I can't say enough good things about this book, it covers a lot more than C++, and it has a whole chapter on program design. This book is all you need to get started with C++. The title says Practical C++ and I'd say it's very practical. Highly recommended." - Peter Waller, news@UK

About the Author

Steve Oualline lives in Southern California, where he works as a software engineer for a major phone company. In his free time he is a real engineer on the Poway Midland Railroad. Steve has written almost a dozen books on programming and Linux software. His web site is .


Hero Quick Promo
Holiday Deals in Kindle Books
Save up to 85% on more than 1,000 Kindle Books. These deals are valid until November 30, 2015. Learn more

Product Details

  • Paperback: 600 pages
  • Publisher: O'Reilly Media; 2nd edition (January 2003)
  • Language: English
  • ISBN-10: 0596004192
  • ISBN-13: 978-0596004194
  • Product Dimensions: 7 x 1.3 x 9.2 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 3.6 out of 5 stars  See all reviews (23 customer reviews)
  • Amazon Best Sellers Rank: #606,992 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

Most Helpful Customer Reviews

39 of 40 people found the following review helpful By Victor Wai Tak Kam on June 20, 2003
Format: Paperback Verified Purchase
I needed a book to refresh my C++ knowledge since it has been a few years since I have written C++ code. My labmates already own copies of Stroustrup's definitive "C++ Programming Language", Stephen Prata's "C++ Primer Plus" and Chapman's "Late Night Guide to C++", but I wanted to own a C++ text so I can read it at home. The O'Reilly series of programming languages (Perl, Python) generally are pretty good, and I got this book with high expectations.
Bad move. The text is just filled with errors and bugs. Some bugs are so rudimentary you just have to question whether the authors tested the code. For instace, the section on substr on P.50:
"... to extract a portion of a string, there is the substr member function. [Form of function is]:
string.substr(first, last)
This function returns a string containing all the characters from first to last. ... "
And proceeds to give an example. Alas; the form of the substr function is NOT string.substr(first, last), but string.substr(first, number of characters). This caused me a good half hour of confusion and head scratching. I simply did not expect the book to get this wrong, and especially not with substr examples given right after.
Apart from bugs, typos and related logistic errors, this book suffers from poor integration of material. The chapters on Style and Programming Adages are pretty good, but the rest of the chapters (30 chapters in total) really need some serious conlidation. It's easy reading, true, but for me, it's hard to acquire a good understanding of C++ out of it.
The title of the book is somewhat misleading. A more appropriate title would be "Introductory C++ Programming". You cannot turn to this book when writing practical code.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
40 of 44 people found the following review helpful By Adrien Lamothe on February 29, 2004
Format: Paperback
Practical C++ Programming is dedicated to teaching the reader how to program in the C++ programming language. I make this seemingly redundant statement because upon first hearing the title I thought the book may have been intended as a guide for teaching experienced C++ programmers how to avoid the pitfalls of bad object oriented practices using the language. Quite the contrary, this book is designed to teach anyone, from complete beginner to experienced programmer, how to program in C++. The book has four goals:
1. Teach the reader C++.
2. Instill good programming style and practice (indeed, the book's subtitle is "Programming Style Guidelines.")
3. Teach the programmer basic software development concepts.
4. Introduce the reader to debuggers and the make utility.
Practical C++ Programming is a fairly large book: 549 pages organized into six "parts" containing 30 chapters and 5 appendixes. The parts are as follows: Part I - The Basics, Part II - Simple Programming, Part III - Advanced Types and Classes, Part IV - Advanced Programming Concepts, Part V - Other Language Features, Part VI - Appendixes. You will have to read most of the book in order to learn C++, although there are a number of chapters you can avoid if your goal is to learn only the language's mechanics.
I must start by saying that I like the book, I think it has value. There are a number of things I really appreciate about the book. There are also some problems that adversely impact the book's use by beginners (more about those later.)
The book discusses all the essential elements of C++. Areas covered include: Class definition, namespaces, scope definition and resolution, operator and function overloading, object memory allocation (i.e.
Read more ›
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
27 of 30 people found the following review helpful By Yonatan Zunger on April 25, 2003
Format: Paperback
This is a programming textbook for C++ that assumes that you have little or no programming experience. Over half of the text is dedicated to basics of programming, constructions like arrays and so on - even the idea of classes isn't broached until p. 191.
But the serious problem with this text is that it encourages really bad things without warnings. For instance, every C++ programmer knows that class destructors really, truly ought to be virtual; but the text doesn't mention this at all until chapter 21, when discussing virtuality. Up until then, even the examples in the text include non-virtual destructors. Someone reading this text without reading it cover-to-cover, with extraordinary care, will miss this rather crucial point completely - and if, gods forbid, they end up using some of the sample code for their own purposes, they'll find themselves with bugs that are very difficult to track down.
This is unfortunately symptomatic of the style of the text as a whole. So many of the examples contain major flaws which aren't even discussed until the end of the book that they're virtually useless, except perhaps as good exercises in "What's wrong with this code snippet?"
Not recommended - there are better books out there.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
10 of 11 people found the following review helpful By A Customer on June 22, 2003
Format: Paperback
Although I did gain a lot of knowledge about C++ from this book, you simply cannot take everything the author says at face value. There are many details about the language that are left unexplained. For example, the keyword "friend" is described in a couple of paragraphs. Compare that with Stroustrap's book which contains serveral pages on the subject.
What was most disturbing about this book was the example given on page 302-303 which has to do with optimization. The author states, "In general, loops should be ordered so the innermost loop is the most complex and the outermost loop is the simplest." Well this certainly is not true. Just try examples 17.8 and 17.9 and you will see that it makes no sense. I even gave these examples to 25 year programming veterans, and it made no sense to them either. The test case I provided proved the book was just plain wrong. This one flawed example made me wonder if there are other unseen problems in all the other examples too.
Having said all of this, I am a big fan of O'Reilly books. I will still use the book as a reference for some things. So not all is lost. This could be a good book for beginner programmers as long as they try out each example and don't rely completely on this book as a source of information. This book combined with Stroustrap's book could be a good combination.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
Practical C++ Programming, Second Edition
This item: Practical C++ Programming, Second Edition
Price: $32.29
Ships from and sold by

Want to discover more products? Check out these pages to see more: dictionary of unusual words, exercises in programming style