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

by Herb Sutter

C++ In-Depth Series

On This Page

Description

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 show more 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. 0201615622B04062001 show less

Tags

Recommendations

Member Reviews

2 reviews
A great deal of C++ written professionally is poor code, hacked out by programmers who don't explore and understand the language, who don't seem to care about their work.

Sutter's a key player in the next version of Microsoft Visual C++, and chairing the C++ Standards Committee. This guy knows his stuff.

In this book, the first of a series of three, Sutter introduces and works through a very important number of points on taking exceptions into account. If you want to write code that doesn't bugger data up when things go wrong, read Sutter, and follow his advice.
Probably a perfectly decent book, but not as generic as I was hoping. Also a little too computer enginereing-y and not super relatable to my electrical classes where my students have to program but don't need to be 1337 computer scientists.

Members

Recently Added By

Lists

Pearson Education
28 works; 1 member

Author Information

Picture of author.
5 Works 786 Members
Herb Sutter serves as contributing editor and columnist for C/C++ Users Journal, and is a Visual C++ architect for Microsoft

Series

Classifications

Genres
Technology, Nonfiction, General Nonfiction
DDC/MDS
005.133Computer science, information & general worksComputer science, knowledge & systemsArtificial Intelligence/Virtual RealitySoftware developmentComputer programmingSpecific programming languages
LCC
QA76.73 .C153 .S88ScienceMathematicsMathematicsInstruments and machinesCalculating machinesElectronic computers. Computer science
BISAC

Statistics

Members
305
Popularity
104,939
Reviews
2
Rating
(4.14)
Languages
English, German, Korean, Russian
Media
Paper
ISBNs
6
UPCs
1