Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
More Exceptional C++: 40 New Engineering Puzzles, Programming Problems, and Solutions
 
See larger image
 

More Exceptional C++: 40 New Engineering Puzzles, Programming Problems, and Solutions [Paperback]

Herb Sutter
4.7 out of 5 stars  See all reviews (9 customer reviews)
List Price: CDN$ 51.99
Price: CDN$ 32.75 & this item ships for FREE with Super Saver Shipping. Details
You Save: CDN$ 19.24 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Usually ships within 2 to 5 weeks.
Ships from and sold by Amazon.ca. Gift-wrap available.

Frequently Bought Together

More Exceptional C++: 40 New Engineering Puzzles, Programming Problems, and Solutions + Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Solutions + More Effective C++: 35 New Ways to Improve Your Programs and Designs
Price For All Three: CDN$ 98.25

Some of these items ship sooner than the others. Show details

Buy the selected items together
  • Usually ships within 2 to 5 weeks.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details

  • Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Solutions CDN$ 32.75

    Usually ships within 2 to 5 weeks.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details

  • More Effective C++: 35 New Ways to Improve Your Programs and Designs CDN$ 32.75

    In Stock.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details



Product Details


Product Description

From Amazon

Aimed at advanced C++ developers who want to hone their programming chops even further, Herb Sutter's More Exceptional C++ borrows the format of his earlier title, Exceptional C++, and delivers some of today's best available thinking on the language in a handy and effective format. A compilation of the author's own experience and research on the thornier aspects of C++, this book will serve as a worthy resource for making sure you get the most out of this powerful language.

The concise text covers a range of challenging topics in C++ without attempting to be comprehensive. Each "item" is presented as a question for you to try and solve by yourself before the author presents his solution, plus additional detail as needed. For most topics, Sutter ends by giving his advice on the best practices (and gotcha's to avoid).

Early sections concentrate on using Standard Template Library (STL) container classes, such as removing items effectively, and the subtle differences between container types. Standout sections on designing custom templates (using specialisation techniques) and designing exception-safe classes will help you do more with your own classes. One entertaining problem here shows a number-guessing game (Mastermind) built as efficiently as possible using STL code (including expert-level use of generic functions to do much of the work).

Several problems on copy-on-write (COW) semantics for more efficient classes point out the issues surrounding code optimisation. (The author argues against a simplistic approach to optimising code, including an over-reliance on inlining functions. Several times, he points out the difficulty of getting COW code to work in multi-threaded projects.)

There has been a debate in the C++ community for years on whether it's possible to design truly "exception-safe" classes. Sutter points out the difficulty with a precise analysis of the issues surrounding exceptions and C++ constructors. Material on the finer points of inheriting classes (including when to avoid and when to use multiple inheritance in C++) will extend your class design options. A good section here is the author's explication of how to simulate COM/Java style interfaces in C++, which isn't immediately obvious, even to experienced C++ developers.

Later sections delve into code-maintenance issues, including advice for using macros, typedefs and namespaces. (Advice on migrating existing C++ code into namespaces will help you combine legacy code with other libraries.) A final appendix shows off some benchmarks for optimising strings using a variety of techniques.

Intelligent, provocative and demanding, More Exceptional C++ shows off why C++ continues to be a rich, complex and challenging language. Armed with titles such as this one, experienced C++ programmers can write better code and avoid pitfalls buried in the outer edges of their favourite language. --Richard Dragan

Book Description

The C++ guru is back -- with even more of the puzzles that have helped thousands of C++ programmers sharpen their skills!
40 programming puzzles designed to illuminate powerful C++ features, techniques, and design principles.
Contains extensive new coverage of the STL and generic programming.
Optimization, multiple inheritance, exception safety, generic programming, memory management, and more. More Exceptional C++ continues where Herb Sutters best-selling Exceptional C++ left off, delivering 40 puzzles that illuminate the most challenging -- and most powerful -- aspects of C++. More Exceptional C++ offers many new puzzles focused on generic programming and the C++ Standard Template Library, including important techniques such as traits and predicates, as well as key considerations in using standard containers and algorithms -- many of them never covered elsewhere. More Exceptional C++ contains a detailed new section (and two appendices) on optimization in single- and multithreaded environments. It also provides important new insights on crucial topics first introduced in Exceptional C++, including exception safety, generic programming, and memory management. For all C++ programmers.
Herb Sutter is an independent consultant, secretary of the ISO/ANSI C++ standards committee, and an invited speaker at technical conferences throughout the world. He is author of the popular Guru of the Week puzzles read by thousands of programmers on the Internet newsgroup comp.lang.c++.moderated. He brought together many of these puzzles in his previous best-seller, Exceptional C++. Sutter is also a columnist for C/C++ Users Journal, and a member of its editorial board.

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


 

Customer Reviews

9 Reviews
5 star:
 (6)
4 star:
 (3)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.7 out of 5 stars (9 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most helpful customer reviews

4 of 4 people found the following review helpful
4.0 out of 5 stars 4.5 stars, good book, May 20 2003
This review is from: More Exceptional C++: 40 New Engineering Puzzles, Programming Problems, and Solutions (Paperback)
I read this book after reading Effective C++ by Scott Meyers. Being able to discuss specific topics rather than viewing a language as a whole was my preferred way of understanding C++, so the books by Sutter and Meyers fit me perfectly.

The main advantage the Exceptional C++ series has over the Meyers series is that you can tell Sutter is the better programmer. You can trust that everything Meyers says is correct but in the end all you really get is some extra pointers on how to do certain things. Sutter on the other hand gets a little deeper on the same topics and makes you feel like can write better C++ code, rather than just being able to format it better.

One complaint I had about Effective C++ by Meyers was that most of the book is text and contains very little code. My experience with reading programming books is that around 90% of plain text will not be retained. The only way verbal programming text will ever stick is if there is good code to accompany it. Since Sutter is a programmer first, author second, he provides more code examples and they seem to be more thought out.

If you have the time then you should probably read from both authors, however, if you don't want to read 4 books then you should probably read the Exceptional series over the Effective series.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 2 people found the following review helpful
5.0 out of 5 stars A reality check for those who know C++, Jun 22 2002
By 
Charles Ashbacher (Marion, Iowa United States) - See all my reviews
(TOP 1000 REVIEWER)   
This review is from: More Exceptional C++: 40 New Engineering Puzzles, Programming Problems, and Solutions (Paperback)
This book, like the earlier one by Sutter, was a reality check for me. Before I read it, I blissfully believed that I knew C++ really well. After all, I have taught it at the college and corporate level for ten years and programmed commercial code for three. I have also written and published material about the language in several journals. However, these forty exercises really opened my eyes and exercised my brain. They are excellent teaching material, showing you aspects of the language that are subtle, yet critical to know.
One topic that I experienced firsthand is when an exception is thrown out of a constructor. This happened to me many years ago, and I spent hours trying to correct the code so that it finally did something similar to what I wanted. Had I been able to read items 17 and 18 of this book, I could have cut that to about twenty minutes and kept more of my hair.
The problems are all typical of those encountered in the "unusual average" day in the life of a C++ programmer. By that I mean that they may not necessarily reflect the day to day work, but are general enough to most likely crop up on some day for everyone who writes code in C++. The general categories are:

1) Generic programming and the C++ standard library
2) Optimization and Performance
3) Exception safety issues and techniques
4) Inheritance and polymorphism
5) Memory and resource management
6) Free functions and macros
7) Miscellaneous topics

There are many things going on behind the scenes in your C++ programs that most of the time you can ignore. However, when it is a time that you can't, then Sutter is one of the people to consult. His material is always well written and useful in the real world and I recommend this book to all my corporate clients.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful
4.0 out of 5 stars Interesting C++ book, May 29 2007
By 
Olivier Langlois "www.OlivierLanglois.net" (Montreal, Quebec Canada) - See all my reviews
(REAL NAME)   
This review is from: More Exceptional C++: 40 New Engineering Puzzles, Programming Problems, and Solutions (Paperback)
Mr. Sutter's books biggest strength to my opinion is that they bring together a bunch of original advanced C++ topics that you cannot find anywhere else. This book has its share of very original content but I feel like the ratio original content vs topics that you can find in other books is lower in this book than with the other books of the serie. The most interesting section in this book in my opinion is the one on exception safety and the less original section is the one on generic programming and STL as you can find much of the information contained in this section in other books such as Effective STL from Scott Meyer or C++ Template from David Vandervoorde and Nicolai M. Josuttis.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
Want to see more reviews on this item?
 Go to Amazon.com to see all 12 reviews  4.6 out of 5 stars 
 
 
Most recent customer reviews







Only search this product's reviews



Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges