Mike and Phani's Essential C++ Techniques

Michael Hyman, Phani Vaddadi

  • 出版商:
  • 出版日期: 1999-10-12
  • 定價: $1,200
  • 售價: 9.5$1,140
  • 語言: 英文
  • 頁數: 239
  • 裝訂: Paperback
  • ISBN: 1893115046
  • ISBN-13: 9781893115040
  • 相關分類: C++ 程式語言
  • 下單後立即進貨 (約5~7天)

相關主題

商品描述

 

Summary

C++ is the language of choice for developing the most sophisticated Windows programs, but it is filled with hidden traps for the unwary. Hyman and Vaddadi’s no-nonsense book helps C++ programmers avoid these traps by providing invaluable techniques gleaned from a combined thirty years of experience. In this book, readers will find a number of ways to improve code and coding practices. Topics range from techniques for avoiding simple mistakes to sample code for creating smart pointers and dynamic arrays. Throughout, the reader will have access to both the before and after code that explains each technique.   

Table of Contents

Introduction

Part I: The Techniques

  • Chapter 1: Start with a Good Design
  • Chapter 2: Darn Reasonable Practices
  • Chapter 3: Dealing with Compiler-Generated Code
  • Chapter 4: Pointers and Memory
  • Chapter 5: Arrays
  • Chapter 6: Classes
  • Chapter 7: Abstract Base Classes
  • Chapter 8: Constructors
  • Chapter 9: Inheritance
  • Chapter 10: Operator Overloading
  • Chapter 11: Templates
  • Chapter 12: Miscellaneous Goop
  • Chapter 13: Performance
  • Chapter 14: Using Assembly
  • Chapter 15: General Debugging Stuff
  • Chapter 16: Specific Debugging Stuff

Part II: Sample Code

  • Chapter 17: Smart Pointers
  • Chapter 18: Reference Counting
  • Chapter 19: Dynamic Arrays
  • Chapter 20: Strings
  • Chapter 21: Bit Manipulation
  • Chapter 22: Sorting
  • Chapter 23: Regular Expression Matching

Appendixes

  • About the CD-ROM

商品描述(中文翻譯)

摘要

C++ 是開發最複雜的 Windows 程式的首選語言,但對於不小心的程式設計師來說,這裡充滿了隱藏的陷阱。Hyman 和 Vaddadi 的這本實用書籍幫助 C++ 程式設計師避免這些陷阱,提供了來自三十年經驗的寶貴技術。在這本書中,讀者將找到多種改善程式碼和編碼實踐的方法。主題涵蓋從避免簡單錯誤的技術到創建智能指標和動態陣列的範例程式碼。整本書中,讀者將能夠接觸到解釋每個技術的前後程式碼。

目錄

引言
第一部分:技術
- 第 1 章:從良好的設計開始
- 第 2 章:相當合理的實踐
- 第 3 章:處理編譯器生成的程式碼
- 第 4 章:指標與記憶體
- 第 5 章:陣列
- 第 6 章:類別
- 第 7 章:抽象基類
- 第 8 章:建構子
- 第 9 章:繼承
- 第 10 章:運算子重載
- 第 11 章:模板
- 第 12 章:其他雜項
- 第 13 章:效能
- 第 14 章:使用組合語言
- 第 15 章:一般除錯內容
- 第 16 章:特定除錯內容

第二部分:範例程式碼
- 第 17 章:智能指標
- 第 18 章:引用計數
- 第 19 章:動態陣列
- 第 20 章:字串
- 第 21 章:位元操作
- 第 22 章:排序
- 第 23 章:正則表達式匹配

附錄
- 關於 CD-ROM