Book 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 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
Table of contents
- Copyright
- Foreword
- Preface
- Generic Programming and the C++ Standard Library
-
Exception-Safety Issues and Techniques
- 8. Writing Exception-Safe Code—Part 1
- 9. Writing Exception-Safe Code—Part 2
- 10. Writing Exception-Safe Code—Part 3
- 11. Writing Exception-Safe Code—Part 4
- 12. Writing Exception-Safe Code—Part 5
- 13. Writing Exception-Safe Code—Part 6
- 14. Writing Exception-Safe Code—Part 7
- 15. Writing Exception-Safe Code—Part 8
- 16. Writing Exception-Safe Code—Part 9
- 17. Writing Exception-Safe Code—Part 10
- 18. Code Complexity—Part 1
- 19. Code Complexity—Part 2
- Class Design and Inheritance
- Compiler Firewalls and the Pimpl Idiom
- Name Lookup, Namespaces, and the Interface Principle
- Memory Management
- Traps, Pitfalls, and Anti-Idioms
- Miscellaneous Topics
- Bibliography
Product information
- Title: Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Solutions
- Author(s):
- Release date: November 1999
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780201615623
You might also like
book
Exceptional C++ Style 40 New Engineering Puzzles, Programming Problems, and Solutions
Software "style" is about finding the perfect balance between overhead and functionality... elegance and maintainability... flexibility …
book
More Exceptional C++
Organized in a practical problem-and-solution format, picks up where the widely acclaimed More Exceptional C++ leaves …
book
Programming 2D Games
Most of today's commercial games are written in C++ and are created using a game engine. …
book
C++ Reactive Programming
Learn how to implement the reactive programming paradigm with C++ and build asynchronous and concurrent applications …