Search in ebookee.net!

More Exceptional C


作者: Herb Sutter

标签: C/C++


Free Download Babylon Translate Software

The poster (email) is not available. 收藏推荐: Bookmark this: More Exceptional C

图书介绍


  • Author: Herb Sutter

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 to try and solve 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 gotchas to avoid).



Early sections concentrate on using Standard Template Library (STL) container classes, like removing items effectively, and the subtle differences between container types. Standout sections on designing custom templates (using specialization techniques) and 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 optimization. (The author argues against a simplistic approach to optimizing code, including an overreliance on inlining functions. Several times he points out the difficulty of getting COW code to work in multithreaded projects.)



There has been a debate in the C++ community for years about 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 optimizing strings using a variety of techniques.



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



Topics covered: Puzzles and solutions to advanced topics in C++, using remove() and erase() for Standard Template Library (STL) containers, custom templates with inheritance and traits, using typename, containers used with pointers, the finer points of vector, set, and maps, potential problems with vector < bool >, post and prefix operators used with functions, templates overloading, explicit and partial template specialization (plus function template overloading), using STL to implement Mastermind (a number-guessing game), the finer points of inline functions, lazy optimizations (including copy-on-write--COW--and semantics for strings), iterators and references, gotchas in multithreaded environments, designing exception-safe classes, constructor failures and object lifetimes, uncaught exceptions (the pitfalls of using uncaught_exception()), unmanaged pointers (in parameter evaluation and auto_ptr); copy assignment, inheritance and exception safety issues, multiple inheritance dos and don'ts, the Siamese Twin problem, virtual functions, controlled polymorphism, memory management iss
[Translate] Download Babylon Translate Software for Free!

[Directly Download] More Exceptional C!


Download this book from Usenet
DOWNLOAD Free register and download UseNet downloader, then you can free download from UseNet.

Download "More Exceptional C" from Usenet!

使用Usenet下载
DOWNLOAD 免费注册即可使用Usenext下载电子书!
Usenet是来自德国的下载软件,强大的共享网络搜索下载工具,免费注册后即可不限速下载150G 电子书,Audiobook等等~~赶快下载使用吧!



Copyright Disclaimer:
本站一切内容源于互联网搜索,禁止商用! 如有任何不妥请联系:admin@ebookee.com,我们将在24小时内删除相关内容。

浏览量:565 添加时间:2007-06-22 21:36:49, 更新时间:2008-02-24 22:07:13, from internet

搜索该书!...


Search mirrors of "More Exceptional C"...

Search in ebookee.com!

下载链接


Free Magazine Subscriptions & Technical Document Downloads

推荐:使用Usenet下载电子书
DOWNLOAD 下载帮助:
免费注册下载Usenet客户端,安装后用内建的搜索即可下载,而且没有速度限制,没有广告。最多可以下载150GB流量,赶快注册下载吧!

下载链接 1

下载链接 2


"More Exceptional C" 下载链接:
Download Link1:

如何下载?
你可能需要 电骡或者BT软件下载BT种子或者电骡链接.

报告死链接
请留言报告死链接,在留言板里可以看到你在该页的留言。


相关链接


"More Exceptional C" 相关链接:


Comments


"More Exceptional C" 没有评论.

    Leave a Comment

    如果没有下载链接或者下载链接无效,请查看相关链接或者搜索相关资料。

    required

    required

    email addresses

    required

    Not clear? Click to refresh.


    1. 艺术设计
    2. 有声读物
    3. 语言文化
    4. 家庭生活
    5. 法律
    6. 音乐歌词
    7. 软件相关
    8. BT种子
    9. 其它图书
    10. 所有留言
    11. 留言评论
    12. Download Thousands of Books two weeks for FREE!
    13. Download millions of Usenet resources!
    14. Exam1Pass-Latest IT Certification Study Guide for IT Exams
    15. Meetexams
    16. 640-802
    17. Needking
    18. Passshope
    19. 海淀驾校
    Back to Top