没有合适的资源?快使用搜索试试~ 我知道了~
Exceptional_C++
需积分: 12 9 下载量 149 浏览量
2010-11-24
14:33:45
上传
评论
收藏 2.32MB PDF 举报
温馨提示
试读
251页
Exceptional C++: 47 Engineering Puzzles, Programming Problems, and Solutions
资源推荐
资源详情
资源评论
I l
@ve RuBoard
•
Table of Contents
Exceptional C++: 47 Engineering Puzzles,
Programming Problems, and Solutions
By
Herb Sutter
Publisher
: Addison Wesley
Pub Date : November 18, 1999
ISBN
: 0-201-61562-2
Pages
: 240
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
I l
@ve RuBoard
•
Table of Contents
Exceptional C++: 47 Engineering Puzzles,
Programming Problems, and Solutions
By
Herb Sutter
Publisher
: Addison Wesley
Pub Date : November 18, 1999
ISBN
: 0-201-61562-2
Pages
: 240
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.
I l
@ve RuBoard
I l
@ve RuBoard
•
Table of Contents
Exceptional C++: 47 Engineering Puzzles,
Programming Problems, and Solutions
By
Herb Sutter
Publisher
: Addison Wesley
Pub Date : November 18, 1999
ISBN
: 0-201-61562-2
Pages
: 240
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
I l
@ve RuBoard
•
Table of Contents
Exceptional C++: 47 Engineering Puzzles,
Programming Problems, and Solutions
By
Herb Sutter
Publisher
: Addison Wesley
Pub Date : November 18, 1999
ISBN
: 0-201-61562-2
Pages
: 240
Copyright
Foreword
Preface
How to Read This Book
How We Got Here:
GotW
and PeerDirect
Acknowledgments
Generic Programming and the C++ Standard Library
Item 1. Iterators
Solution
Item 2. Case-Insensitive Strings—Part 1
Solution
Item 3. Case-Insensitive Strings—Part 2
Solution
Item 4. Maximally Reusable Generic Containers—Part 1
Solution
Item 5. Maximally Reusable Generic Containers—Part 2
Solution
Alternative: The Standard Library Approach
Item 6. Temporary Objects
Solution
Item 7. Using the Standard Library (or, Temporaries Revisited)
Solution
I l
@ve RuBoard
•
Table of Contents
Exceptional C++: 47 Engineering Puzzles,
Programming Problems, and Solutions
By
Herb Sutter
Publisher
: Addison Wesley
Pub Date : November 18, 1999
ISBN
: 0-201-61562-2
Pages
: 240
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
Exception-Safety Issues and Techniques
Item 8. Writing Exception-Safe Code—Part 1
Solution
Item 9. Writing Exception-Safe Code—Part 2
Solution
Item 10. Writing Exception-Safe Code—Part 3
Solution
Item 11. Writing Exception-Safe Code—Part 4
Solution
Item 12. Writing Exception-Safe Code—Part 5
Solution
Item 13. Writing Exception-Safe Code—Part 6
Solution
Item 14. Writing Exception-Safe Code—Part 7
Solution
Item 15. Writing Exception-Safe Code—Part 8
Solution
Item 16. Writing Exception-Safe Code—Part 9
Solution
Item 17. Writing Exception-Safe Code—Part 10
Solution
Item 18. Code Complexity—Part 1
Solution
Item 19. Code Complexity—Part 2
Solution
Class Design and Inheritance
Item 20. Class Mechanics
Solution
Item 21. Overriding Virtual Functions
Solution
Item 22. Class Relationships—Part 1
Solution
Item 23. Class Relationships—Part 2
Solution
Item 24. Uses and Abuses of Inheritance
Solution
Item 25. Object-Oriented Programming
Solution
I l
@ve RuBoard
•
Table of Contents
Exceptional C++: 47 Engineering Puzzles,
Programming Problems, and Solutions
By
Herb Sutter
Publisher
: Addison Wesley
Pub Date : November 18, 1999
ISBN
: 0-201-61562-2
Pages
: 240
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
Compiler Firewalls and the Pimpl Idiom
Item 26. Minimizing Compile-time Dependencies—Part 1
Solution
Item 27. Minimizing Compile-time Dependencies—Part 2
Solution
Item 28. Minimizing Compile-time Dependencies—Part 3
Solution
Item 29. Compilation Firewalls
Solution
Item 30. The "Fast Pimpl" Idiom
Solution
Name Lookup, Namespaces, and the Interface Principle
Item 31. Name Lookup and the Interface Principle—Part 1
Solution
Item 32. Name Lookup and the Interface Principle—Part 2
Solution
Item 33. Name Lookup and the Interface Principle—Part 3
Solution
Item 34. Name Lookup and the Interface Principle—Part 4
Solution
Memory Management
Item 35. Memory Management—Part 1
Solution
Item 36. Memory Management—Part 2
Solution
Item 37. AUTO_PTR
Solution
Traps, Pitfalls, and Anti-Idioms
Item 38. Object Identity
Solution
Item 39. Automatic Conversions
Solution
Item 40. Object Lifetimes—Part 1
Solution
Item 41. Object Lifetimes—Part 2
Solution
剩余250页未读,继续阅读
资源评论
Malloc_yb
- 粉丝: 14
- 资源: 44
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功