Please Sign Up to Request This Product

Safe C++

How to avoid common mistakes

You need to be an approved reviewer to request a product. Please sign up to request access or login to your account.

If you've already signed up and you haven't heard from us yet please email and we will check on your request.


It’s easy to make lots of programming mistakes in C++—in fact, any program over a few hundred lines is likely to contain bugs. With this book, you’ll learn about many common coding errors that C++ programmers produce, along with rules and strategies you can use to avoid them. You’ll not only find recipes for identifying errors during your program’s compilation, runtime, and testing phases, you’ll learn a comprehensive approach for making your C++ code safe and bug-free.


On Aug 25 Kiatikun Luangkesorn wrote: Book Review: Safe C++ by Vladimir Kushnir
Safe C++: How to Lower the Bug Count of your C++ code by Vladimir KushnirMy rating: 2 of 5 starsSafe C++ bills itself as providing ways of avoiding common programming mistakes in C++ through a set of rules. While the author makes a convincing case that these rules are better… Full Review  >

Rating: StarStarStarStarStar2.0

On Aug 22 Michal Konrad Owsiak wrote: I have mixed feelings here …
Safe C++ is quite interesting book, however, after reading it I have mixed feelings. At some point it is targeted at begineers. If you don’t know how to avoid memory related mistakes, how to recover from the run-time errors, or how to hunt bugs you don’t know much about safe coding yet. In that case this book is definitelly for you. Full Review  >

Rating: StarStarStarStarStar3.0

On Aug 2 Tuomo Kalliokoski wrote:
Full Review  >

Rating: StarStarStarStarStar1.0

On Jul 30 Mat Powell wrote: Safe C++
The latest C++ from O’Reilly promotes writing safe code. Safe C++ is an intermediate book that preaches good coding practices to ensure your code runs as efficiently (and safely) as possible. At under 150 pages and small, precise code snippets, this book goes pretty quick. The first couple of chapters cover basics and get into bugs, then the book moves into pointers, memory leaks, proper utilization of constructors/destructors, debugging and testing. A great (and quick) read for those looking to polish their skills in C++. Full Review  >

Rating: StarStarStarStarStar4.0

On Jul 24 Kenta Hood wrote:
This is a good reference for anyone that's looking to become a better programmer by knowing what the basic pitfalls are. If you're learning to program, this probably isn't going to be for you but if you already know how to program and are learning a new language or brushing up on one, this works out well for C++. Full Review  >

Rating: StarStarStarStarStar5.0

On Jul 4 Daniele Di Donato wrote:
Full Review  >

Rating: StarStarStarStarStar5.0

Receive free ebooks and videos in exchange for your reviews.

Join the O'Reilly Reader Review Program

Learn more >


Top Reviewers

Michal Konrad Owsiak, 94 Reviews

Santosh Shanbhag, 61 Reviews

Surachart Opun, 60 Reviews

Doron Katz, 57 Reviews

Shawn Day, 55 Reviews

See More Reviewers >

Featured Review

Macintosh Terminal Pocket Guide

David Greenbaum wrote:
Unix for the perplexed
This small guide gives Mac users a very basic introduction to Unix commands. This book… Full Review >

Rating: StarStarStarStarStar5.0