没有合适的资源?快使用搜索试试~ 我知道了~
首页C++程序设计语言(The C++ Programming Language 4th Ed)高清英文版带书签
C++程序设计语言(The C++ Programming Language 4th Ed)高清英文版带书签
需积分: 3 134 浏览量
更新于2023-03-16
评论 1
收藏 18.76MB PDF 举报
本书是在C++语言和程序设计领域具有深远影响、畅销不衰的著作,由C++语言的设计者编写,对C++语言进行了最全面、最权威的论述,覆盖标准C++以及由C++所支持的关键性编程技术和设计技术。
资源详情
资源评论
资源推荐

ptg10564057

ptg10564057
The
C++
Programming
Language
Fourth Edition
Bjarne Stroustrup
Upper Saddle River, NJ • Boston • Indianapolis • San Francisco
New York • Totonto • Montreal • London • Munich • Paris • Madrid
Capetown • Sydney • Tokyo • Singapore • Mexico City

ptg10564057
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where
those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed
with initial capital letters or in all capitals.
The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any
kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in
connection with or arising out of the use of the information or programs contained herein.
The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which
may include electronic versions and/or custom covers and content particular to your business, training goals, marketing
focus, and branding interests. For more information, please contact:
U.S. Corporate and Government Sales
(800) 382-3419
corpsales@pearsontechgroup.com
For sales outside the United States, please contact:
International Sales
international@pearsoned.com
Visit us on the Web: informit.com/aw
Library of Congress Cataloging-in-Publication Data
Stroustrup, Bjarne.
The C++ programming language / Bjarne Stroustrup.—Fourth edition.
pages cm
Includes bibliographical references and index.
ISBN 978-0-321-56384-2 (pbk. : alk. paper)—ISBN 0-321-56384-0 (pbk. : alk. paper)
1. C++ (Computer programming language) I. Title.
QA76.73.C153 S77 2013
005.13’3—dc23 2013002159
Copyright © 2013 by Pearson Education, Inc.
All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must
be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any
form or by any means, electronic, mechanical, photocopying, recording, or likewise. To obtain permission to use material
from this work, please submit a written request to Pearson Education, Inc., Permissions Department, One Lake Street, Upper
Saddle River, New Jersey 07458, or you may fax your request to (201) 236-3290.
This book was typeset in Times and Helvetica by the author.
ISBN-13: 978-0-321-56384-2
ISBN-10: 0-321-56384-0
Te xt printed in the United States on recycled paper at Edwards Brothers Malloy in Ann Arbor, Michigan.
Second printing, June 2013

ptg10564057
Contents
Contents iii
Preface v
Preface to the Fourth Edition ...................................................... v
Preface to the Third Edition ........................................................ ix
Preface to the Second Edition ..................................................... xi
Preface to the First Edition ......................................................... xii
Part I: Introductory Material
1. Notes to the Reader ..................................................................... 3
2. A Tour of C++: The Basics ......................................................... 37
3. A Tour of C++: Abstraction Mechanisms ................................... 59
4. A Tour of C++: Containers and Algorithms ............................... 87
5. A Tour of C++: Concurrency and Utilities ................................. 111
Part II: Basic Facilities 133
6. Types and Declarations ............................................................... 135
7. Pointers, Arrays, and References ................................................ 171
8. Structures, Unions, and Enumerations ........................................ 201
9. Statements ................................................................................... 225
10. Expressions ................................................................................. 241

ptg10564057
iv Contents
11. Select Operations ........................................................................ 273
12. Functions ..................................................................................... 305
13. Exception Handling .................................................................... 343
14. Namespaces ................................................................................. 389
15. Source Files and Programs .......................................................... 419
Part III: Abstraction Mechanisms 447
16. Classes ........................................................................................ 449
17. Construction, Cleanup, Copy, and Move .................................... 481
18. Overloading ................................................................................. 527
19. Special Operators ........................................................................ 549
20. Derived Classes ........................................................................... 577
21. Class Hierarchies ........................................................................ 613
22. Run-Time Type Information ....................................................... 641
23. Templates .................................................................................... 665
24. Generic Programming ................................................................. 699
25. Specialization .............................................................................. 721
26. Instantiation ................................................................................ 741
27. Templates and Hierarchies .......................................................... 759
28. Metaprogramming ....................................................................... 779
29. A Matrix Design ......................................................................... 827
Part IV: The Standard Library 857
30. Standard Library Summary ......................................................... 859
31. STL Containers ........................................................................... 885
32. STL Algorithms .......................................................................... 927
33. STL Iterators ............................................................................... 953
34. Memory and Resources ............................................................... 973
35. Utilities ........................................................................................ 1009
36. Strings ......................................................................................... 1033
37. Regular Expressions .................................................................... 1051
38. I/O Streams ................................................................................. 1073
39. Locales ........................................................................................ 1109
40. Numerics ..................................................................................... 1159
41. Concurrency ................................................................................ 1191
42. Threads and Tasks ....................................................................... 1209
43. The C Standard Library .............................................................. 1253
44. Compatibility .............................................................................. 1267
Index 1281
剩余1365页未读,继续阅读
















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0