
100 C++ Mistakes and How to Avoid Them
- Length: 360 pages
- Edition: 1
- Language: English
- Publisher: Manning Publications
- Publication Date: 2025-07-02
- ISBN-10: 1633436896
- ISBN-13: 9781633436893
Learn how to handle errors, inefficiencies, and outdated paradigms by exploring the most common mistakes you’ll find in production C++ code.
C++ is a complex and powerful language. With an estimated ten billion lines of C++ code running in production, it’s not hard to find bugs, inefficiencies, and other coding mistakes that slow and snarl even the most mission critical applications. 100 C++ Mistakes and How To Avoid Them reveals the problems you’ll inevitably encounter as you write new C++ code and diagnose legacy applications, along with practical techniques you need to resolve them.
Inside 100 C++ Mistakes and How To Avoid Them you’ll learn how to:
– Design solid classes
– Minimize resource allocation/deallocation issues
– Use new C++ features
– Identify the differences between compile and runtime issues
– Recognize C-style idioms that miss C++ functionality
– Use exceptions well
100 C++ Mistakes and How To Avoid Them gives you practical insights and techniques to improve your C++ coding kung fu. Author Rich Yonts has been using C++ since its invention in the 1980s. This book distills that experience into practical, reusable advice on how C++ programmers at any skill level can improve their code. Unlike many C++ books that concentrate on language theory and toy exercises, this book is loaded with real examples from production codebases.