Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Solutions

Front Cover
Addison-Wesley, 2000 - Computers - 208 pages
6 Reviews

"Exceptional C++" shows by example how to go about sound software engineering in standard C++. Do you enjoy solving thorny C++ problems and puzzles? Do you relish writing robust and extensible code? Then take a few minutes and challenge yourself with some tough C++ design and programming problems.

The puzzles and problems in "Exceptional C++" not only entertain, they will help you hone your skills to become the sharpest C++ programmer you can be. Many of these problems are culled from the famous "Guru of the Week" feature of the Internet newsgroup comp.lang.c++.moderated, expanded and updated to conform to the official ISO/ANSI C++ Standard.

Each problem is rated according to difficulty and is designed to illustrate subtle programming mistakes or design considerations. After you've had a chance to attempt a solution yourself, the book then dissects the code, illustrates what went wrong, and shows how the problem can be fixed. Covering a broad range of C++ topics, the problems and solutions address critical issues such as:

  • Generic programming and how to write reusable templates
  • Exception safety issues and techniques
  • Robust class design and inheritance
  • Compiler firewalls and the Pimpl Idiom
  • Name lookup, namespaces, and the Interface Principle
  • Memory management issues and techniques
  • Traps, pitfalls, and anti-idioms
  • Optimization

Try your skills against the C++ masters and come away with the insight and experience to create more efficient, effective, robust, and portable C++ code.

What people are saying - Write a review

User ratings

5 stars
4 stars
3 stars
2 stars
1 star

Review: Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Solutions

User Review  - Joecolelife - Goodreads

Herb Sutter is well known in the C++ programming community for his attention to detail, sound software engineering principles and solid coding techniques. This book gather together in one place an ... Read full review

Review: Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Solutions

User Review  - Goodreads

Not bad, has some good nuggets here and there... However, I felt the Q&A format of the book added absolutely nothing. It's likely just a relic of him copy/pasting the content from his online column. Read full review

References to this book

All Book Search results »

About the author (2000)

Herb Sutter is the author of three highly acclaimed books, Exceptional C++ Style, Exceptional C++, and More Exceptional C++ (Addison-Wesley). He chairs the ISO C++ standards committee, and is contributing editor and columnist for C/C++ Users Journal. As a software architect for Microsoft, Sutter leads the design of C++ language extensions for .NET programming.

Bibliographic information