没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Using the C++ Standard Template Libraries 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
资源推荐
资源详情
资源评论
Horton
US $ 49.99
Shelve in:
Programming Languages/C++
User level:
Beginning–Intermediate
www.apress.com
SOURCE CODE ONLINE
RELATED
BOOKS FOR PROFESSIONALS BY PROFESSIONALS
®
Using the C++ Standard
Template Libraries
Beginning STL is a contemporary treatment that teaches you the latest C++
14 APIs, libraries and extensions and how to apply these to your C++ 14
applications. In this book, author Ivor Horton explains what the STL is and
how to use it with your C++ applications. You’ll learn how to use containers and
iterators, as well as how to define, create and apply algorithms. Furthermore,
you’ll learn about function objects and allocators and how to use them.
After reading this book, you’ll learn how to extend the STL and define your
own types of C++ components. You’ll also be able to define your own types to
satisfy the C++ STL requirements and to conform to the most common design
patterns and best practices.
The Standard Library is a fundamental part of the C++ Standard. It provides
you as a C++ programmer with a comprehensive set of efficiently implemented
tools and reusable components that you can use for most types of application.
• How to use the STL with your C++ applications
• How to use containers
• How to work with iterators
• How to define, create, and apply algorithms
• How to use function objects
• How to extend the STL and define your own types of components
• How to use allocators
• How to define your own types to satisfy the C++ STL requirements and to
conform to common design patterns and best practices
9781484 200056
54999
ISBN 978-1-4842-0005-6
Using the C++ Standard Template Libraries
Copyright © 2015 by Ivor Horton
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the
material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation,
broadcasting, reproduction on microfilms or in any other physical way, and transmission or information
storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now
known or hereafter developed. Exempted from this legal reservation are brief excerpts in connection with
reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed
on a computer system, for exclusive use by the purchaser of the work. Duplication of this publication or
parts thereof is permitted only under the provisions of the Copyright Law of the Publisher’s location, in its
current version, and permission for use must always be obtained from Springer. Permissions for use may be
obtained through RightsLink at the Copyright Clearance Center. Violations are liable to prosecution under
the respective Copyright Law.
ISBN-13 (pbk): 978-1-4842-0005-6
ISBN-13 (electronic): 978-1-4842-0004-9
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol
with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only
in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the
trademark.
The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not
identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to
proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication,
neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or
omissions that may be made. The publisher makes no warranty, express or implied, with respect to the
material contained herein.
Managing Director: Welmoed Spahr
Lead Editor: Steve Anglin
Technical Reviewer: Marc Gregoire
Editorial Board: Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell, Louise Corrigan,
Morgan Ertel, Jonathan Gennick, Jonathan Hassell, Robert Hutchinson, Michelle Lowman,
James Markham, Matthew Moodie, Jeff Olson, Jeffrey Pepper, Douglas Pundick, Ben Renow-Clarke,
Dominic Shakeshaft, Gwenan Spearing, Matt Wade, Tom Welsh
Coordinating Editor: Mark Powers
Copy Editor: Karen Jameson
Compositor: SPi Global
Indexer: SPi Global
Artist: SPi Global
Cover Designer: Anna Ishchenko
Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street,
6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.
com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner)
is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware
corporation.
For information on translations, please e-mail rights@apress.com, or visit www.apress.com.
Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use.
eBook versions and licenses are also available for most titles. For more information, reference our Special
Bulk Sales–eBook Licensing web page at www.apress.com/bulk-sales.
Any source code or other supplementary materials referenced by the author in this text is available to
readers at www.apress.com. For detailed information about how to locate your book’s source code, go to
www.apress.com/source-code/.
v
Contents at a Glance
About the Author ���������������������������������������������������������������������������������������������������xvii
About the Technical Reviewer ��������������������������������������������������������������������������������xix
Acknowledgments ��������������������������������������������������������������������������������������������������xxi
Introduction ����������������������������������������������������������������������������������������������������������xxiii
■Chapter 1: Introducing the Standard Template Library ����������������������������������������� 1
■Chapter 2: Using Sequence Containers ��������������������������������������������������������������� 33
■Chapter 3: Container Adapters
���������������������������������������������������������������������������� 91
■Chapter 4: Map Containers
�������������������������������������������������������������������������������� 135
■Chapter 5: Working with Sets ���������������������������������������������������������������������������� 201
■Chapter 6: Sorting, Merging, Searching, and Partitioning ��������������������������������� 249
■Chapter 7: More Algorithms ������������������������������������������������������������������������������ 285
■Chapter 8: Generating Random Numbers ���������������������������������������������������������� 329
■Chapter 9: Str
eam Operations ��������������������������������������������������������������������������� 389
■Chapter 10: W
orking with Numerical, Time, and Complex Data ������������������������ 417
Index ��������������������������������������������������������������������������������������������������������������������� 483
剩余503页未读,继续阅读
资源评论
yinkaisheng-nj
- 粉丝: 762
- 资源: 6231
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功