THE C++PROGRAMMING LANGUAGEPDF电子书下载
- 电子书积分:12 积分如何计算积分?
- 作 者:BJARNE STROUSTRUP
- 出 版 社:ADDISON-VESLEY PUBLISHING COMPANY
- 出版年份:1986
- ISBN:020112078X
- 页数:327 页
Notes to the Reader 1
The Structure of This Book 1
Implementation Notes 2
Exercises 2
Design Notes 3
Historical Note 3
Efficiency and Structure 5
Philosophical Note 6
Thinking about Programming in C++ 7
RuIes of Thumb 9
Note to C Programmers 9
References 10
Chapter 1: A Tour of C++ 11
1.1 Introtluction 11
1.2 Comments 14
1.3 Types and Declarations 14
1.4 Expressions and Statements 16
1.5 Functions 21
1.6 Program Structure 22
1.7 Classes 23
1.8 Operator Overloading 25
1.9 References 26
1.10 Constructors 27
1.11 Vectors 28
1.12 Inline Expansion 29
1.13 Derived Classes 30
1.14 More about Operators 32
1.15 Friends 34
1.16 Generic Vectors 35
1.17 Polymorphic Vectors 35
1.18 Virtual Functions 37
Chapter 2: Declarations and Constants 39
2.1 Ieclarations 39
2.2 Names 44
2.3 Types 44
2.4 Constants 59
2.5 Saving Space 65
2.6 Exercises 68
Chapter 3: Expressions and Statements 71
3.1 A Desk Caloulat 71
3.2 Operator Sumrnary 84
3.3 Statement Summarv 94
3.4 Comments and Indo ntation 97
3.5 Exercises 99
Chapter 4: Functions and Files 103
4.1 Introduction 103
4.2 Linkage 104
4.3 Header Files 106
4.4 Files as Modules 114
4.5 How to Make a Library 115
4.6 Functions 116
4.7 Macros 129
4.8 Exercises 131
Chapter 5: Classes 133
5.1 Introduction and Overview 133
5.2 Classes and Members 134
5.3 Interfaces and Implementations 142
5.4 Friends and Unions 149
5.5 Constructors and Destructors 157
5.6 Exercises 166
Chapter 6: Operator Overloading 169
6.1 Introduction 169
6.2 Operator Functions 170
6.3 User-defined Type Conversion 173
6.4 Constants 177
6.5 Large Objects 177
6.6 Assignment and Initialization 178
6.7 Subscripting 181
6.8 Function Call 183
6.9 A String Class 184
6.10 Friends and Members 187
6.11 Caveat 188
6.12 Exercises 188
Chapter 7: Derived Classes 191
7.1 Introduction 191
7.2 Derived Classes 192
7.3 Alternative Intert 203
7.4 Adding to a CL 211
7.5 Heterogeneous I isrs 213
7.6 A Complete Program 213
7. Free Storc 222
7.8 E xerciscs 223
Chapter 8: Streams 225
8.1 Introduotion 225
8.2 Output 226
8.3 Files and Streams 233
8.4 Input 236
8.5 String Manipulation 241
8.6 Buffering 242
8.7 Efficiency 244
8.8 Exercises 244
Reference Manual 245
r.1 Introduction 245
r.2 Lexical Conveqtions 245
r.3 Syntax Notation 248
r.4 Names and Types 248
r.5 Objects and Lvalues 251
r.6 Conversions 252
r.7 Expressions 254
r.8 Declarations 265
r.9 Statements 292
r.10 Function Defiinitions 296
r.11 Compiler Control Lines 298
r.12 Constant Expressions 301
r.13 Portability Considerations 301
r.14 Syntax Summary 302
r.15 Differences from C 309
Index 313
- 《C++程序设计语言 特别版》(美)贝尔实验室(Bjarne Stroustrup)著;裘宗燕译 2002
- 《C++语言的设计和演化 英文版》(美)Bjarne Stroustrup著 2002
- 《Toplcs in Chromatic Graph Theory》Lowell W. Beineke ; Robin J. Wilson ; Bjarne Toft 2015
- 《University Politehnica of Bucharest Scientific Bulletin Founded in 1929 Series D: Mechanical Enginee》Gheorghe Amza ; Cristian Andreescu ; Bjarne Andresen 2013
- 《A tour of C++ = C++之旅(英文版)》Bjarne Stroustrup 2016
- 《Programming principles and practice using C++ = C++程序设计原理与实践 (英文版)》Bjarne Stroustrup 2009
- 《C++程序设计语言 第1-3部分》(美)本贾尼·斯特劳斯特鲁普(Bjarne Stroustrup)著 2016
- 《C++程序设计语言》(美)Stroustrup,B.著;麦中凡,童长忠译 1988
- 《PROGRAMMING PRINCIPLES AND PRACTICE USING C++》BJARNE STROUSTRUP 2014
- 《C++程序设计语言 第4部分 标准库》(美)本贾尼·斯特劳斯特鲁普(Bjarne Stroustrup)著 2016
- 《非线性量子力学》庞小峰编著 2009
- 《爱与意志》(美)罗洛·梅著;冯川译 1998
- 《牛虻》(英)艾·丽·伏尼契著;亚贤译 1995
- 《自杀风险管理手册》(加)库奇,(加)切希尔著 2011
- 《柴油发动机系统设计》(美)辛千凡著;(美)辛千凡译 2015
- 《WIESEL骨科手术技巧 足踝外科》(美)Sam W. Wiesel总主编;(美)Mark E. Easley主编;张长青总主译 2015
- 《永续生活 16个家的创想物语》(日)意迪著;林叶,袁璟译 2014
- 《创伤骨科》(美)威塞尔主编;张长青总主译 2015
- 《WIESEL骨科手术技巧 成人重建外科》(美)威塞尔(Sam W. Wiesel)总主编;(美)Javad Parvizi,Richard H. Rothman主编;张长青总主译 2015
- 《结直肠癌规范化诊疗 国际进展与中国实践荟萃》陈功,邱萌,张俊主编;袁瑛,黄鼎智副主编 2015