一刷 ?000 冊 (2006/??)  

《C++Primer》4/e
繁體中文版

侯捷 譯

blank.jpg (3320 bytes)

原書勘誤:

繁體版 勘誤

本書附錄各範例程式之檢測記錄

   書內程式源碼下載


【基本資料】

書名:C++ Primer 4/E 中文版
出版:眳p 2005.09
ISBN:
頁數: 18 章,32+xxii+912 頁
定價:NT$ 980.0

原著:C++ Primer 4/e
原著作者:Stanly B. Lippman, Josee Lajoie, Barbara E. Moo
原著出版:Addison Wesley Professional, 2005
原著ISBN:0-201-72148-1
原著頁數: 18 章,912 頁
原著定價:US$ 49.99

□讀者技術基礎:基本電腦知識
□適合對象:任何想學好 C/C++,或已熟悉 C/C++ 而希望擁有一本良好工具書的程式開發人員。

□中譯本特色
廣受信賴的譯筆,
與原文本相同水準的索引,
與原文本相同的編頁,
比原文本更好的編排,
比原文本更好的章節目錄,
遵工程界習慣,使用原文技術名詞。

□簡介:本書是 ANSI/ISO C++ Standard 定案後的作品,取材廣泛新穎深入,文筆親和,適合做為 C++ 入門書,也適合給中高階 C++ programmer 做為進修書籍和查詢工具。本書前兩版獲得極佳口碑。

開放檔案如下:

檔名 內容 大小 bytes
  譯序
導讀
前言
目錄
第一章
第二章
 

檔案含書籤(目錄連結),不需密碼即可開啟。如欲下載,請將滑鼠移至上述 hyperlink,按右鍵,再選【另存目標...】即可。

英文版目錄:

Preface.

1. Getting Started.

Writing a Simple C++ Program.

A First Look at Input/Output.

A Word About Comments.

Control Structures.

Introducing Classes.

The C++ Program.

Summary.

Defined Terms.

I. THE BASICS.

2. Variables and Basic Types.

Primitive Built-in Types.

Literal Constants.

Variables.

const Qualifier.

References.

Typedef Names.

Enumerations.

Class Types.

Writing Our Own Header Files.

Summary.

Defined Terms

3. Library Types.

Namespace using Declarations.

Library string Type.

Library vector Type.

Introducing Iterators.

Library bitset Type.

Summary.

Defined Terms.

4. Arrays and Pointers.

Arrays.

Introducing Pointers.

C-Style Character Strings.

Multidimensional Arrays.

Summary.

Defined Terms

5. Expressions.

Arithmetic Operators.

Relational and Logical Operators.

The Bitwise Operators.

Assignment Operators.

Increment and Decrement Operators.

The Arrow Operator.

The Conditional Operator.

The size of Operator.

Comma Operator.

Evaluating Compound Expressions.

The new and delete Expressions.

Type Conversions.

Summary.

Defined Terms

6. Statements.

Simple Statements.

Declaration Statements.

Compound Statements (aka Blocks).

Statement Scope.

The if Statement.

The switch Statement.

The while Statement.

The for Loop Statement.

The do while Statement.

The break Statement.

The continue Statement.

The goto Statement.

try Blocks and Exception Handling.

Summary.

Defined Terms.

7. Functions.

Defining a Function.

Argument Passing.

Returninga Value.

Function Declarations.

Local Objects.

Inline Functions.

Class Member Functions.

Overloaded Functions.

Pointers to Functions.

Summary.

Defined Terms.

8. The IO Library.

An Object-Oriented Library.

No Copyor Assign for IO Objects.

Condition States.

File Input and Output.

StringStreams.

Summary.

Defined Terms.

II. CONTAINERS AND ALGORITHMS.

9. Sequential Containers.

Defining a Sequential Container.

Iterators and Iterator Ranges.

Sequence Container Operations.

How a vector Grows.

Deciding Which Container to Use.

strings Revisited.

Container Adaptors.

Summary.

Defined Terms.

10. Associative Containers.

Preliminaries: the pair Type.

Associative Containers.

The map Type.

The set Type.

The multimap and multiset Types.

Using Containers: Text Query Program.

Summary.

Defined Terms.

11. Generic Algorithms.

Overview.

A First Look at the Algorithms.

Revisiting Iterators.

Structure of Generic Algorithms.

Container Specific Algorithms.

Summary.

Defined Terms.

III. CLASSES AND DATA ABSTRACTION.

12. Classes.

Class Definitions and Declarations.

The Implicit this Pointer.

ClassScope.

Constructors.

Friends.

static Class Members.

Summary.

Defined Terms.

13. Copy Control.

The Copy Constructor.

The Assignment Operator.

The Destructor.

A Message Handling Example.

Managing Pointer Members.

Summary.

Defined Terms.

14. Overloaded Operations and Conversions.

Definingan Overloaded Operator.

Input and Output Operators.

Arithmetic and Relational Operators.

Operator =.

Operator[ ].

Operator * and ->.

Increment and Decrement Operators.

Operator () and Function Objects.

Conversions and Class Types.

Summary.

Defined Terms.

IV. OBJECT-ORIENTED AND GENERIC PROGRAMMING.

15. Object-Oriented Programming.

OOP: An Overview.

Defining Base and Derived Classes.

Conversions and Inheritance.

Constructors and Copy Control.

Class Scope under Inheritance.

Pure virtual Functions.

Containers and Inheritance.

Handle Classes and Inheritance.

Text Queries Revisited.

Summary.

Defined Terms.

16. Templates and Generic Programming.

Template Definitions.

Instantiation.

Template Compilation Models.

Class Template Members.

A Generic Handle Class.

Template Specializations.

Overloading and Function Templates.

Summary.

Defined Terms.

V. ADVANCED TOPICS.

17. Tools for Large Programs.

Exception Handling.

Namespaces.

Multiple and Virtual Inheritance.

Summary.

Defined Terms

18. Specialized Tools and Techniques.

Optimizing Memory Allocation.

Run-Time Type Identification.

Pointer to Class Member.

Nested Classes.

Union: A Space-Saving Class.

Local Classes.

Inherently NonPortable Features.

Summary.

Defined Terms.

A. The Library.

Library Names and Headers.

Brief Tour of the Algorithms.

The IO Library Revisited.

Index.

-- the end