注冊 | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當前位置: 首頁出版圖書科學技術(shù)計算機/網(wǎng)絡(luò)軟件與程序設(shè)計C/C++及其相關(guān)Essential C++(英文版)

Essential C++(英文版)

Essential C++(英文版)

定 價:¥32.00

作 者: (美)利普曼 著
出版社: 人民郵電出版社
叢編項: 典藏原版書苑
標 簽: C++

ISBN: 9787115152572 出版時間: 2006-11-01 包裝: 膠版紙
開本: 16 頁數(shù): 276 字數(shù):  

內(nèi)容簡介

  本書是眾多C++初學者的入門經(jīng)典,通常C++初學者會在讀完本書后再讀《C++ Primer》。本書從4個方面來表現(xiàn)C++的本質(zhì):procedural(程序性的)、generic(泛型的)、object-based(個別對象的)、object-oriented(面向?qū)ο蟮模?。本書的組織圍繞著一系列逐漸繁復(fù)的程序問題,以及用以解決這些問題的語言特性。循此方式,讀者不只會學到C++的函數(shù)和結(jié)構(gòu),也會學習到它們的設(shè)計目的和基本原理。本書涉獵范圍很廣,內(nèi)容涉及C++語言發(fā)展的主要幾個方面,適合有一定基礎(chǔ)的C++初學者。“拿起這本書,你可以在短時間內(nèi)熟悉C++。Stanley選擇了范圍廣泛而又復(fù)雜的一些主題,把它們的門檻降低到C++新手開發(fā)真正的程序時所需要的最基本的層次。本書以實例引導讀者學習,這種做法很有效,可幫助讀者順利學完整本書?!?..———Steve Vinoski,IONA

作者簡介

  Stanley B.Lippman暢銷圖書《C++ Primer (3RD)中文版》的原版作者Stanley B.Lippman的職業(yè)是提供關(guān)于C++和面向?qū)ο蟮挠柧?、咨詢、設(shè)計和指導。他在成為一名獨立咨詢顧問之前,曾經(jīng)是迪士尼動化公司的首席軟件設(shè)計師。當他在AT&T Bell實驗室的時候,領(lǐng)導了cfront 3.0版本和2.1版本的編譯器開發(fā)組。他也是Bjarne Stroustrup領(lǐng)導的Bell實驗室Foundation項目的成員之一,負責C++程序設(shè)計環(huán)境中的對象模型部分。他還撰寫了許多關(guān)于C++的文章。目前他已受雇于微軟公司,負責Visual C++項目。遍及全球,...

圖書目錄

Chapter 1: Basic C++ Programming 1
1.1: How to Write a C++ Program 1
1.2: Defining and Initializing a Data Object 7
1.3: Writing Expressions 10
1.4: Writing Conditional and Loop Statements 15
1.5: How to Use Arrays and Vectors 22
1.6 Pointers Allow for Flexibility 26
1.7: Writing and Reading Files 30
Chapter 2: Procedural Programming 35
2.1: How to Write a Function 35
2.2: Invoking a Function 41
2.3: Providing Default Parameter Values 50
2.4: Using Local Static Objects 53
2.5: Declaring a Function Inline 55
2.6: Providing Overloaded Functions 56
2.7: Defining and Using Template Functions 58
2.8: Pointers to Functions Add Flexiblity 60
2.9: Setting Up a Header File 63
Chapter 3: Generic Programming 67
3.1: The Arithmetic of Pointers 68
3.2: Making Sense of Iterators 73
3.3: Operations Common to All Containers 76
3.4: Using the Sequential Containers 77
3.5: Using the Generic Algorithms 81
3.6: How to Design a Generic Algorithm 83
3.7: Using a Map 90
3.8: Using a Set 91
3.9: How to Use Iterator Inserters 93
3.10: Using the iostream Iterators 95
Chapter 4: Object-Based Programming 99
4.1: How to Implement a Class 100
4.2: What Are Class Constructors and the Class Destructor? 104
4.3: What Are mutable and const? 109
4.4: What Is the this Pointer? 113
4.5: Static Class Members 115
4.6: Building an Iterator Class 118
4.7: Collaboration Sometimes Requires Friendship 123
4.8: Implementing a Copy Assignment Operator 125
4.9: Implementing a Function Object 126
4.10: Providing Class Instances of the iostream Operators 128
4.11: Pointers to Class Member Functions 130
Chapter 5: Object-Oriented Programming 135
5.1: Object-Oriented Programming Concepts 135
5.2: A Tour of Object-Oriented Programming 138
5.3: Polymorphism without Inheritance 142
5.3: Defining an Abstract Base Class 145
5.4: Defining a Derived Class 148
5.5: Using an Inheritance Hierarchy 155
5.6: How Abstract Should a Base Class Be? 157
5.7: Initialization, Destruction, and Copy 158
5.8: Defining a Derived Class Virtual Function 160
5.9: Run-Time Type Identification 164
Chapter 6: Programming with Templates 167
6.1: Parameterized Types 169
6.2: The Template Class Definition 171
6.3: Handling Template Type Parameters 172
6.4: Implementing the Template Class 174
6.5: A Function Template Output Operator 180
6.6: Constant Expressions and Default Parameters 181
6.7: Template Parameters as Strategy 185
6.8: Member Template Functions 187
Chapter 7: Exception Handling 191
7.1: Throwing an Exception 191
7.2: Catching an Exception 193
7.3: Trying for an Exception 194
7.4: Local Resource Management 198
7.5: The Standard Exceptions 200
Appendix A: Exercise Solutions 205
Appendix B: Generic Algorithms Handbook 255
Index 271

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號 鄂公網(wǎng)安備 42010302001612號