Algorithm 版 (精华区)

发信人: Lerry (life is waiting...), 信区: Algorithm
标  题: C++程序设计语言(特别版 影印版) 
发信站: 哈工大紫丁香 (2002年11月09日15:15:11 星期六), 站内信件

C++程序设计语言(特别版 影印版) ISBN 7-04-010095-9/TP.509  P1029
  The C++ Programming Language (Special Edition)
  Bjarne Stroustrop,2001.6出版,定价55.00元
  本书介绍标准C++及其编程、设计中的关键技术。标准C++较之以前的版本,功能更
强大,其中许多特性,如名字空间、例外、模板、运行时类型声明等使得新技术得以直
接应用。本书围绕语言及库功能来组织,内容涉及C++的主要特征及标准库,并通过系统
软件领域中的实例解释说明一些关键性的概念与技术。
  本书作者是C++的发明人,对C++语言有着全面、深入的理解,因此他强调应将语言
作为设计与编程的工具,而不仅仅是语言本身,强调只有对语言功能有了深入了解之后
才能真正掌握它。本书编写的目的就是帮助读者了解C++是如何支持编程技术的,使读者
能从中获得新的理解,从而成为一名优秀的编程人员和设计人员。
  内容:1. 引论 2. 基本功能(类型与说明,指针、数组与结构,表达式,函数,名
字空间与例外) 3. 抽象机制(类,运算符重载,导出类,模板,例外处理,类继承)
 4. 标准库(库组织与容器,标准容器,算法与函数对象,迭代器与分配器,字符串,
流,数值) 5. C++设计(开发与设计,设计与编程,类的作用) 附录
  
Contents:
Preface  v
Preface to First Edition  vii
Introductory Material  ix
Introductory Material  1
  1 Notes to Reader  3
  2 A Tour of C++    21
  3 A Tour of the Standard Library  45
Part I: Basic Facilities  67  
  4 Types and Declarations  69
  5 Pointers, Arrays, and Structures  87
  6 Expressions and Statements  107
  7 Functions  143
  8 Namespaces and Exceptions  165
  9 Source Files and Programs  197
Part II: Abstraction Mechanisms  221
  10 Classes  223  
  11 Operator Overloading  261
  12 Derived Classes  301
  13 Templates  327
  14 Exception Handling  355
  15 Class Hierarchies  389
Part III: The Standard Library  427  
  16 Library Organization and Containers  429
  17 Standard Containers  461
  18 Algorithms and Function Objects  507
  19 Iterators and Allocators  549
  20 Strings  579
  21 Streams  605
  22 Numerics    657
Part IV: Design Using C++  689
  23 Development and Design  691  
  24 Design and Programming  723
  25 Roles of Classes  765
Appendices  791
  A The C++ Grammar  793
  B Compatibility  815
  C Technicalities  827
  D Locales  869
  E Standard Library Exception Safety  935
Index  969
  Preface:
Programming is understanding.
-Kristen Nygaard
  I find using C++ more enjoyable than over. C++'s support for design and 
programming has improved dramatically over the years, and lots of new helpfu
l techniques have been developed for its use. However, C++ is not just fun. 
Ordinary practical programmers have achieved significant improvements in pro
ductivity, maintainability, flexibility, and quality in projects of just abo
ut any kind and scale. By now, C++ has fulfilled most of the hopes I origina
lly had for it, and also succeeded at tasks I hadn't even dreamt of.
  This book introduces standard C++ and the key programming and design tec
hniques supported by C++. Standard C++ is a far more powerful and polished l
anguage than the version of C++ introduced by the first edition of this book
. New language features such as namespaces, exceptions, templates, and run-t
ime type identification allow many techniques to be applied more directly th
an was possible before, and the standard library allows the programmer to st
art from a much higher level than the bare language.
  About a third of the information in the second
   edition of this book came from the first. This third edition is the res
ult of a rewrite of even larger magnitude. It offers something to even the m
ost experienced C++ programmer; at the same time, this book is easier for th
e novice to approach than its predecessors were. The explosion of C++ use an
d the massive amount of experience accumulated as a result makes this possib
le.
  The definition of an extensive standard library makes a difference to th
e way C++ concepts can be presented. As before, this book presents C++ indep
endently of any particular implementation, and as before, the tutorial chapt
ers present language constructs and concepts in a “bottom up” order so tha
t a construct is used only after it has been defined. However, it is much ea
sier to use a well-designed library than it is to understand the details of 
its implementation. Therefore, the standard library can be used to provide r
ealistic and interesting examples well before a reader can be assumed to und
erstand its inner workings. The standard library itself is also a fertile so
urce of programming examples and design techniques.
  This book presents every major C++ language feature and the standard lib
rary. It is organized around language and library facilities. However, featu
res are presented in the context of their use. That is, the focus is on the 
language as the tool for design and programming rather than on the language 
in itself. This book demonstrates key techniques that make C++ effective and
 teaches the fundamental concepts necessary for mastery. Except where illust
rating technicalities, examples and taken from the domain of systems softwar
e. A companion, The Annotated C++ Language Standard, presents the complete l
anguage definition together with annotations to make it more comprehensible.

  The primary aim of this book is to help the reader understand how the fa
cilities offered by C++ support key programming techniques. The aim is to ta
ke the reader far beyond the point where he or she gets code running primari
ly by copying examples and emulating programming styles from other languages
. Only a good understanding of the ideas behind the language facilities lead
s to mastery. Supplemented by implementation documentation, the information 
provided is sufficient for completing significant real-world projects. The h
ope is that this book will help the reader gain new insights and become a be
tter programmer and designer.
  Bjarne Stroustrup

--
3、你不会一离开学校就有百万年薪,你不会马上就是可以

发号施令的副总裁,这两者你都必须经过努力得来。

                                     ——比尔·盖茨

※ 来源:·哈工大紫丁香 bbs.hit.edu.cn·[FROM: 218.7.32.75]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:3.872毫秒