C++ in Action: Industrial-strength Programming Techniques (Paperback) (C++ 實戰:工業級程式設計技術)
Bartosz Milewski
- 出版商: Addison Wesley
- 出版日期: 2001-06-01
- 定價: $1,560
- 售價: 8.0 折 $1,248
- 語言: 英文
- 頁數: 485
- 裝訂: Paperback
- ISBN: 0201699486
- ISBN-13: 9780201699487
-
相關分類:
C++ 程式語言
立即出貨(限量)
買這商品的人也買了...
-
$1,680$1,596 -
$700Enterprise Java Servlets (Paperback)
-
$520$411 -
$399Applied .NET: Developing People-Oriented Software Using C#
-
$1,510$1,435 -
$2,020$1,919 -
$1,180$1,121 -
$1,680$1,596 -
$2,020$1,919 -
$1,430$1,359 -
$399.NET Programming: A Practical Guide Using C# (Paperback)
-
$1,910$1,815 -
$1,120$1,064 -
$1,720$1,634 -
$199ASP.NET Web Development with Macromedia Dreamweaver MX 2004 (Paperback)
-
$1,590$1,511 -
$550$495 -
$1,910$1,815 -
$1,060$1,007 -
$760$600 -
$650$514 -
$550$435 -
$780$616 -
$780$616 -
$580$452
相關主題
商品描述
Description
C++: Proven techniques for building -- and maintaining -- industrial-strength Windows software.
- Extensive coverage of resource management -- a crucial technique for building robust, maintainable systems.
- Detailed coverage of large-scale software projects: strategies, techniques, management, planning, and project dynamics.
- CD-ROM includes extensive C++ source code library.
Bartosz Milewski has been programming since 1986, and teaching C++ since 1994. He is President of Reliable Software, a firm specializing in creating high-quality productivity tools for programmers. Previously, he was architect and programming lead for Microsoft Index Server, a successful commercial application now integrated in Windows 2000. Milewski holds a Ph.D in theoretical physics.
Table Of Contents
Introduction.Techniques.
Windows.
Scaling Up.
How to Use this Book.
Language.
Objects and Scopes.
Local Scope.
Embedded objects.
Inheritance.
Member functions and Interfaces.
Member function scope.
Types.
Summary.
Exercises.
Abstract Data Types.
Exercises.
Arrays and references.
Operators.
Arithmetic.
Logic.
Bitwise Logic.
Stack-based calculator.
Functional Specification.
Design.
Stubbed Implementation.
Implementation.
Exercises.
Pointers.
Pointers vs. References.
Pointers vs. Arrays.
Assembly Digression.
Exercises.
Pointers and Dynamic Memory Allocation.
Dynamic Data Structures.
Dynamic Stack.
Linked List.
String Table.
String Buffer.
Table Lookup.
Hash Table.
Test Program.
Exercises.
Polymorphism.
Implementation Digression.
The Overhead.
Parse Tree.
C Digression.
Exercises.
Small Software Project.
Specification.
Stubbed Implementation.
Expanding Stubs.
Scanner.
Symbol Table.
Store.
Function Table.
Nodes.
Parser.
Main.
Initialization of Aggregates.
Exercises.
Procedural Programming.
Operator Overloading.
Passing by Value.
Value Semantics.
Techniques.
The Cleanup.
Fighting Defensive Programming.
A Case of Paranoid Programming.
Fringes.
Improving Communication Between Classes.
Correcting Design Flaws.
Hiding Implementation Details.
Using Embedded Classes.
Combining Classes.
Combining Things using Namespaces.
Hiding Constants in Enumerations.
Hiding Constants in Local Variables.
Sharing.
Pushing the Envelope.
Templates.
Exercises.
Removing Limitations.
Dynamic MultiNode.
Dynamic StringBuffer.
Dynamic SymbolTable.
Dynamic Store.
Standard Vector.
Resource Management.
Stack Unwinding.
Resources.
Ownership of Resources.
Access to Resources.
Smart Pointers.
Ownership Transfer: First Attempt.
Ownership Transfer: Second Attempt.
Safe Containers.
Iterators.
Error Propagation.
Conversion to Resource Management.
Conclusion.
Making Use of the STL.
End of Restrictions.
Getting Rid of C-Strings.
Exploring Streams.
Serialization and Deserialization.
Command Parser.
Serialization and Deserialization.
In-Memory (De-) Serialization.
Multiple Inheritance.
Conclusion.
Overloading Operator new.
Caching.
Bulk Allocation.
Array new.
Global new.
Macros.
Tracing Memory Leaks.
Debug Output.
Placement new.
Windows.
Libraries.
Programming Paradigm.
Encapsulation.
Controlling Windows through C++.
Exception Specification.
Cleanup.
Painting.
Window Painting and the View Object.
The Canvas.
The WM_PAINT Message.
The Model.
Capturing the Mouse.
Adding Colors and Frills.
Windows Application.
User Interface.
Child Windows.
Windows Controls.
Static Text.
Edit Control.
Window Subclassing.
Plugging in the Calculator.
List Box Control.
Model-View Feedback Loop.
Commands and Menus.
Dynamic Menus.
Dialogs.
Exercises.
Scaling Up.
About Software.
The Fractal Nature of Software.
The Living Project.
The Living Programmer.
Design Strategies.
Model-View-Controller.
Documentation.
Requirement Specification.
Architecture Specification.
Team Work.
Team Strategies.
Implementation Strategies.
Top-Down Object Oriented Implementation.
Program Modifications.
Inheriting Legacy Code.
Multi-platform development.
Porting.
Porting the Calculator.
Eliminating Simple Windows Dependencies.
Non-trivial Windows Dependencies.
The Advantages of Porting.
Bibliography.
Appendices.
Exercise Solutions.
Transient Transactions.
Persistent Transactions.
The Three-File Scheme.
The Mapping-File Scheme. 0201699486T04062001
商品描述(中文翻譯)
《C++ in Action》是一本介紹C++程式設計和問題解決技巧的書籍,旨在開發高效、強大和可擴展的軟體系統。著名軟體架構師Bartosz Milewski從兩個關鍵前提出發。首先,程式不是為了電腦而寫的,而是為了其他程式設計師來整合和維護。其次,軟體開發語言不是目的,而是解決問題的工具。基於這些原則,Milewski提供了一個全面的C++軟體工程指南,以實現最佳性能、可靠性和可維護性。他展示了如何結合資源管理和例外管理來構建更可靠的程式碼。接下來,他介紹了簡化Windows開發的新技術,儘管Windows API和庫的複雜性。該書還詳細介紹了大型軟體和可擴展性,包括開發策略和戰術,以及管理、計劃和項目動態。附帶的CD-ROM和配套網站包含了大量的源代碼庫。
作者Bartosz Milewski自1986年開始編程,自1994年起教授C++課程。他是Reliable Software的總裁,該公司專門為程式設計師創建高質量的生產力工具。在此之前,他是Microsoft Index Server的架構師和程式設計主管,該成功的商業應用現已集成在Windows 2000中。Milewski擁有理論物理學博士學位。
目錄包括:
- 引言:語言、技巧、Windows、擴展、如何使用本書
- 物件和作用域:全域作用域、區域作用域、嵌入式物件、繼承、成員函數和介面、成員函數作用域、類型、摘要、練習、抽象資料類型、練習
- 陣列和引用:引用、運算子、算術、邏輯、位元邏輯、基於堆疊的計算機、功能規格、設計、存根實現、實現、練習
- 指標:指標、指標與引用、指標與陣列、組合語言、練習、指標和動態記憶體配置、動態資料結構、動態堆疊、鏈結列表、字串表、字串緩衝區、表查找、哈希表、測試程式、練習
- 多型:is-a的意義、實現細節、開銷、解析樹、C語言細節、練習
- 小型軟體專案:軟體專案、規格、存根實現、擴展存根、掃描器、符號表、存儲、函數表、節點、解析器、主程式、初始化聚合
該書提供了豐富的C++源代碼庫,附帶CD-ROM和配套網站。