Safe C++: How to avoid common mistakes

Brand: O'Reilly Media

Write a Review
$15.63 - $21.04
UPC:
9781449320935
Binding:
Paperback
Publication Date:
6/16/2012
Release Date:
6/13/2012
Author:
Vladimir Kushnir
Language:
english
Edition:
1
Adding to cart… The item has been added

Product Overview

Its 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, youll learn about many common coding errors that C++ programmers produce, along with rules and strategies you can use to avoid them.

Author Vladimir Kushnir shows you how to use his Safe C++ library, based in part on programming practices developed by the C++ community. Youll not only find recipes for identifying errors during your programs compilation, runtime, and testing phases, youll learn a comprehensive approach for making your C++ code safe and bug-free.

  • Get recipes for handling ten different error types, including memory leaks and uninitialized variables
  • Discover problems C++ inherited from C, like pointer arithmetic
  • Insert temporary and permanent sanity checks to catch errors at runtime
  • Apply bug prevention techniques, such as using separate classes for each data type
  • Pursue a testing strategy to hunt and fix one bug at a timebefore your code goes into production