Safe C++: How to avoid common mistakes (Paperback)

Safe C++: How to avoid common mistakes (Paperback)

作者: Vladimir Kushnir
出版社: O'Reilly
出版在: 2012-06-26
ISBN-13: 9781449320935
ISBN-10: 1449320937
裝訂格式: Paperback
總頁數: 142 頁





內容描述


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




相關書籍

C++程式設計規範 101條規則 準則與最佳實踐

作者 薩特 (Herb Sutter) 安德烈亞歷克斯安德萊斯庫 (Andrei Alexandrescu)

2012-06-26

Ubuntu Linux操作系統實用教程

作者 杜焱 廉哲 李聳

2012-06-26

The Annotated C++ Reference Manual (Paperback)

作者 Margaret A. Ellis Bjarne Stroustrup

2012-06-26