Safe C++: How to avoid common mistakes
Posted on 26 July 2012.
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.


Author Vladimir Kushnir shows you how to use his Safe C++ library, based in part on programming practices developed by the C++ community.

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.
  • 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 timeóbefore your code goes into production.





Spotlight

(IN)SECURE Magazine issue 45 released

(IN)SECURE Magazine is a free digital security publication discussing some of the hottest information security topics. Learn about personal data bankruptcy and the cost of privacy, security and compliance, delivering digital security to a mobile world, and much more.


Weekly newsletter

Reading our newsletter every Monday will keep you up-to-date with security news.
  



Daily digest

Receive a daily digest of the latest security news.
  
DON'T
MISS

Wed, Mar 4th
    COPYRIGHT 1998-2015 BY HELP NET SECURITY.   // READ OUR PRIVACY POLICY // ABOUT US // ADVERTISE //