Practical C++ Programming, 2/e (Paperback)

Steve Oualline

  • 出版商: O'Reilly
  • 定價: $1,750
  • 售價: 9.5$1,663
  • 語言: 英文
  • 頁數: 600
  • 裝訂: Paperback
  • ISBN: 0596004192
  • ISBN-13: 9780596004194
  • 相關分類: C++ 程式語言
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

C++ is a powerful, highly flexible, and adaptable programming language that allows software engineers to organize and process information quickly and effectively. But this high-level language is relatively difficult to master, even if you already know the C programming language.

The new second edition of Practical C++ Programming is a complete introduction to the C++ language for programmers who are learning C++. Reflecting the latest changes to the C++ standard, this new edition takes a useful down-to-earth approach, placing a strong emphasis on how to design clean, elegant code.

In short, to-the-point chapters, all aspects of programming are covered including style, software engineering, programming design, object-oriented design, and debugging. It also covers common mistakes and how to find (and avoid) them. End of chapter exercises help you ensure you've mastered the material.

Practical C++ Programming thoroughly covers:


  • C++ Syntax
  • Coding standards and style
  • Creation and use of object classes
  • Templates
  • Debugging and optimization
  • Use of the C++ preprocessor
  • File input/output


Steve Oualline's clear, easy-going writing style and hands-on approach to learning make Practical C++ Programming a nearly painless way to master this complex but powerful programming language.

Table of Contents


 

Preface

Part I. The Basics

1. What Is C++?

2. The Basics of Program Writing

3. Style

4. Basic Declarations and Expressions

5. Arrays, Qualifiers, and Reading Numbers

6. Decision and Control Statements

7. The Programming Process

Part II. Simple Programming

8. More Control Statements

9. Variable Scope and Functions

10. The C++ Preprocessor

11. Bit Operations

Part III. Advanced Types and Classes

12. Advanced Types

13. Simple Classes

14. More on Classes

15. Simple Pointers

Part IV. Advanced Programming Concepts

16. File Input/Output

17. Debugging and Optimization

18. Operator Overloading

19. Floating Point

20. Advanced Pointers

21. Advanced Classes

Part V. Other Language Features

22. Exceptions

23. Modular Programming

24. Templates

25. Standard Template Library

26. Program Design

27. Putting It All Together

28. From C to C++

29. C++'s Dustier Corners

30. Programming Adages

Part VI. Appendixes

A. ASCII Table

B. Ranges

C. Operator Precedence Rules

D. Computing Sine Using a Power Series

E. Resources

Index

商品描述(中文翻譯)

C++是一種強大、高度靈活和適應性強的程式語言,它允許軟體工程師快速有效地組織和處理資訊。但這種高階語言相對較難掌握,即使你已經熟悉C語言。《Practical C++ Programming》的第二版是一本完整的C++語言介紹,針對正在學習C++的程式設計師。這本新版反映了C++標準的最新變化,採用了實用的、腳踏實地的方法,強調如何設計乾淨、優雅的程式碼。

簡短而直接的章節中,涵蓋了程式設計的各個方面,包括風格、軟體工程、程式設計設計、物件導向設計和除錯。它還涵蓋了常見的錯誤以及如何找到(和避免)它們。章節結束時的練習可以幫助你確保你已經掌握了這些內容。

《Practical C++ Programming》全面介紹了以下內容:
- C++語法
- 編碼標準和風格
- 物件類的創建和使用
- 模板
- 調試和優化
- C++預處理器的使用
- 檔案輸入/輸出

Steve Oualline清晰、輕鬆的寫作風格和實踐性的學習方法使《Practical C++ Programming》成為掌握這種複雜但強大的程式語言的幾乎無痛的方式。

目錄:
前言
第一部分:基礎知識
1. 什麼是C++?
2. 程式撰寫的基礎
3. 風格
4. 基本宣告和運算式
5. 陣列、修飾詞和讀取數字
6. 決策和控制語句
7. 程式設計過程

第二部分:簡單程式設計
8. 更多控制語句
9. 變數範圍和函式
10. C++預處理器
11. 位元運算

第三部分:高級類型和類別
12. 高級類型
13. 簡單類別
14. 更多關於類別的內容
15. 簡單指標

第四部分:高級程式設計概念
16. 檔案輸入/輸出
17. 調試和優化
18. 運算子重載
19. 浮點數
20. 高級指標
21. 高級類別

第五部分:其他語言特性
22. 例外處理
23. 模組化程式設計
24. 模板
25. 標準模板庫
26. 程式設計設計
27. 將所有內容結合起來
28. 從C到C++
29. C++的較陳舊的部分
30. 程式設計格言

附錄:
A. ASCII表
B. 範圍
C. 運算子優先順序規則
D. 使用冪級數計算正弦
E. 資源
索引