Essential C++ (Paperback)
Stanley B. Lippman
- 出版商: Addison Wesley
- 出版日期: 1999-11-05
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 304
- 裝訂: Paperback
- ISBN: 0201485184
- ISBN-13: 9780201485189
-
相關分類:
C++ 程式語言
-
相關翻譯:
Essential C++ (簡體中文版) (簡中版)
買這商品的人也買了...
-
$680$537 -
$980$774 -
$1,723$1,637 -
$860$731 -
$550$435 -
$1,300$1,235 -
$1,890$1,796 -
$780$741 -
$650$553 -
$760$600 -
$580$458 -
$590$466 -
$620$527 -
$580$493 -
$690$538 -
$420$332 -
$720$562 -
$399CCNA ICND Exam Certification Guide (CCNA Self-Study, 640-811, 640-801) (Hardcover)
-
$750$675 -
$560$504 -
$2,340$2,223 -
$480$379 -
$750$593 -
$580$493 -
$990$782
相關主題
商品描述
Description
Essential C++ offers a fast-track to learning and working with C++. This book is specifically designed to bring you up to speed in a short amount of time. It focuses on the elements of C++ programming that you are most likely to encounter and examines features and techniques that help solve real-world programming challenges. Essential C++ presents the basics of C++ in the context of procedural, generic, object-based, and object-oriented programming. It is organized around a series of increasingly complex programming problems, and language features are introduced as solutions to these problems. In this way you will not only learn about the functions and structure of C++, but will understand their purpose and rationale.
Appropriate Courses
C++--Intermediate Programming.
Table Of Contents
Preface.
Structure of This Book.
A Note on the Source Code.
Acknowledgments.
Where to Find More Information.
Typographical Conventions.
1. Basic C++ Programming.
Defining and Initializing a Data Object.
Writing Expressions.
Writing Conditional and Loop Statements.
How to Use Arrays and Vectors.
Pointers Allow for Flexibility.
Writing and Reading Files.
2. Procedural Programming.
Invoking a Function.
Providing Default Parameter Values.
Using Local Static Objects.
Declaring a Function Inline.
Providing Overloaded Functions.
Defining and Using Template Functions.
Pointers to Functions Add Flexibility.
Setting Up a Header File.
3. Generic Programming.
Making Sense of Iterators.
Operations Common to All Containers.
Using the Sequential Containers.
Using the Generic Algorithms.
How to Design a Generic Algorithm.
Using a Map.
Using a Set.
How to Use Iterator Inserters.
Using the iostream Iterators.
4. Object-Based Programming.
What are Class Constructors and the Class Destructor?
What are mutable and const?
What is the this Pointer?
Static Class Members.
Building an Iterator Class.
Collaboration Sometimes Requires Friendship.
Implementing a Copy Assignment Operator.
Implementing a Function Object.
Providing Class Instances of the iostream Operators.
Pointers to Class Member Functions.
5. Object-Oriented Programming.
Polymorphism without Inheritance.
Defining an Abstract Base Class.
Defining a Derived Class.
Using an Inheritance Hierarchy.
How Abstract Should a Base Class Be?
Initialization, Destruction, and Copy.
Defining a Derived Class Virtual Function.
Run-Time Type Identification.
6. Programming with Templates.
The Template Class Definition.
Handling Template Type Parameters.
Implementing the Template Class.
A Function Template Output Operator.
Constant Expressions and Default Parameters.
Template Parameters as Strategy.
Member Template Functions.
7. Exception Handling.
Catching an Exception.
Trying for an Exception.
Local Resource Management.
The Standard Exceptions.
Appendix A: Exercise Solutions.
Appendix B: Generic Algorithms Handbook.
Index. 0201485184T04062001
商品描述(中文翻譯)
Essential C++ 是一本快速學習和使用 C++ 的書籍。這本書專為在短時間內讓讀者掌握 C++ 而設計。它專注於你最有可能遇到的 C++ 編程元素,並探討幫助解決實際編程挑戰的功能和技術。Essential C++ 在程序化、泛型、基於對象和面向對象編程的背景下介紹了 C++ 的基礎知識。它圍繞一系列越來越複雜的編程問題組織,並將語言特性作為解決這些問題的解決方案引入。通過這種方式,你不僅會學習 C++ 的函數和結構,還會理解它們的目的和原理。
適合的課程:C++ 中級編程。
目錄:
前言。
本書結構。
源代碼說明。
致謝。
尋找更多資訊。
印刷慣例。
第一章:基本的 C++ 編程。
如何編寫 C++ 程序。
定義和初始化數據對象。
編寫表達式。
編寫條件和循環語句。
如何使用數組和向量。
指針提供了靈活性。
編寫和讀取文件。
第二章:程序化編程。
如何編寫函數。
調用函數。
提供默認參數值。
使用局部靜態對象。
內聯聲明函數。
提供重載函數。
定義和使用模板函數。
函數指針增加了靈活性。
設置頭文件。
第三章:泛型編程。
指針的算術運算。
理解迭代器。
所有容器共有的操作。
使用順序容器。
使用泛型算法。
如何設計泛型算法。
使用映射。
使用集合。
如何使用迭代器插入器。
使用 iostream 迭代器。
第四章:基於對象的編程。
如何實現類。
類的構造函數和析構函數是什麼?
什麼是可變和常量?
```