Jump to ratings and reviews
Rate this book

Safe C++: How to avoid common mistakes

Rate this book
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 variablesDiscover problems C++ inherited from C, like pointer arithmeticInsert temporary and permanent sanity checks to catch errors at runtimeApply bug prevention techniques, such as using separate classes for each data typePursue a testing strategy to hunt and fix one bug at a time—before your code goes into production

142 pages, Kindle Edition

First published May 30, 2012

1 person is currently reading
2 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (100%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.