100 C++ Mistakes and How to Avoid Them you own this product

Rich Yonts
  • MEAP began March 2024
  • Publication in Spring 2025 (estimated)
  • ISBN 9781633436893
  • 361 pages (estimated)
  • printed in black & white

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
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.

about the book

100 C++ Mistakes and How To Avoid Them identifies the problems you’ll find in legacy C++ codebases as well as in your own new programs. Author Rich Yonts provides a concrete example of each mistake and a step-by-step walkthrough of the correct code. You’ll learn to consider each mistake from the standpoint of correctness, readability, effectiveness, and performance, and adopt modern programming techniques that can replace older, outdated approaches.

about the reader

Both beginning and experienced C++ programmers will benefit from these practical tips and advice.

about the author

Rich Yonts is a Senior Software Engineer at Teradata and a long-time software engineer using C++, Java, and Python. Rich held a number of technical and leadership roles during his many years at IBM and Sony. As an assistant professor, he has dealt with questions and issues of undergraduate and graduate students learning programming. He has deep experience on large code bases and considers himself both a student and a teacher of C++.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • 100 C++ Mistakes and How to Avoid Them ebook for free

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • 100 C++ Mistakes and How to Avoid Them ebook for free