C++:An Introduction to Computing, 3/e
暫譯: C++:計算機入門(第三版)
Joel Adams, Larry Nyhoff
- 出版商: Prentice Hall
- 出版日期: 2002-08-24
- 售價: $902
- 語言: 英文
- 頁數: 996
- 裝訂: Paperback
- ISBN: 0130914266
- ISBN-13: 9780130914262
-
相關分類:
C++ 程式語言
下單後立即進貨 (約5~7天)
買這商品的人也買了...
-
$3,370$3,202 -
$980$774 -
$720$569 -
$590$466 -
$750$585 -
$690$538 -
$690$587 -
$560$442 -
$490$382 -
$620$527 -
$750$585 -
$560$476 -
$450$356 -
$720$569 -
$420$328 -
$720$612 -
$860$731 -
$480$379 -
$750$593 -
$780$616 -
$760$646 -
$780$616 -
$590$460 -
$450$356 -
$760$646
商品描述
Summary
I think it's well written and intelligently presented. It's a good introduction not only to C++ programming, but also to computer science as a whole.
- Larry Herman, UNITEC Institute of Technology
This book has a very large number of exercises, with a large variety of types. It is one the things that attracted me to the text. I am pleased with the quantity and quality of the exercises in this book.
- Cary Laxer, Computer Science, Rose-Hulman Institute of Technology
Joel Adams and Larry Nyhoff address two key goals for first-year computing courses: to give students programming skills in a specific language, and to introduce them to the larger field of computer science. In this third edition of their best-selling book, these experienced educators offer a well-rounded approach to the methodologies and techniques of C++, while presenting students with a general overview of computing as a discipline, allowing them to put their learning into a broader context.
KEY FEATURES
- Provides carefully selected Part of the Picture presentations by computing experts as an overview of the discipline of computer science
- Offers 500 Quick Quiz questions with answers and 800 written exercises to be used for written assignments
- Includes more than 300 programming problems drawn from a wide range of application areas
NEW TO THIS EDITION
- A new chapter on data structures
- Learning objectives listed at the beginning of each chapter
- End-of-chapter summaries with key words and notes to help students identify the main concepts of each chapter
- Case studies featuring problems with complete solutions, including both design and program code
- Special optional OBJECTive Thinking sections to present classes and objects
- Prentice Hall Companion Website at http://www.prenhall.com/adams and authors' website at http://cs.calvin.edu/books/c++/intro/3e/
Table of Contents
0. Beginning Snapshots.
PART OF THE PICTURE: What Is Computer Science? PART OF THE PICTURE: The History of Computing. PART OF THE PICTURE: Introduction to Computer Systems.
1. Problem Solving and Software Engineering.Welcome to the World of C++. Problem Solving through Software Engineering. Case Study: Revenue Calculation. OBJECTive Thinking: Spheres As Objects. PART OF THE PICTURE: Ethics and Issues.
2. Types.Introductory Example: Computing Student Pay. Types and Declarations. PART OF THE PICTURE: Data Representation. OBJECTive Thinking: Attribute Variables.
3. Operations and Expressions.Introductory Example: Einstein's Equation. Numeric Expressions. Boolean Expressions. Character Expressions. Assignment Expressions. Input/Output Expressions. Example: Truck Fleet Accounting. OBJECTive Thinking: Initialization and Constructors.
4. Functions.Introductory Example: Temperature Conversion with Expressions. Introductory Example: Temperature Conversion with Functions. Functions That Use Selection. Functions That Use Repetition. PART OF THE PICTURE: Computability Theory. Case Study: An 8-Function Calculator. An Introduction to Libraries. OBJECTive Thinking: Class Methods.
5. Using Classes.Introductory Example: “The Farmer in the Dell.” Introduction to Classes. The istream and ostream Classes. Computing with string Objects. Case Study: Decoding Phone Numbers. PART OF THE PICTURE: Simulation. OBJECTive Thinking: Instance Methods.
6. Selection.Introductory Example: School Mascots. Selection: The if Statement. Selection: The switch Statement. Example: Computing Letter Grades. Selection: Conditional Expressions. PART OF THE PICTURE: Boolean Logic and Digital Design. PART OF THE PICTURE: Computer Architecture. OBJECTive Thinking: Mutator Methods.
7. Repetition.Introductory Example: The Punishment of Gauss. Repetition: The for Loop. Repetition: The while Loop. Repetition: The do Loop. Input Loops. Choosing the Right Loop. Case Study: Calculating Depreciation. PART OF THE PICTURE: Introduction to Algorithm Analysis. OBJECTive Thinking: Code. Reuse Through Inheritance.
8. Functions in Depth.Introductory Example: One-Step Integer Division. Parameters in Depth. Examples of Parameter Usage. Inline Functions. Scope, Overloading, and Templates. A Brief Introduction to Recursion. PART OF THE PICTURE: Numerical Methods. OBJECTive Thinking: Class Variables, Instance Variables, and Scope.
9. Files and Streams.Introductory Example: Weather Data Analysis. ifstream and ofstream Objects. Example: Scanning for a Virus. Additional Stream Features. PART OF THE PICTURE: Database Systems. OBJECTive Thinking: Objects and Streams.
10. Arrays and Vector “T” s.Introductory Example: Quality Control. C-Style Arrays. Sorting. Searching. Example: Processing Employee Information. The vector“T” Class Template. Example: Processing Test Scores. OBJECTive Thinking: Objects and Sequences.
11. Building Classes.Introductory Example: Modeling Temperatures. Designing a Class. Implementing Class. Attributes. Implementing Class Operations. Example: Retrieving Student Information. OBJECTive Thinking: Operator Overloading and Friends.
12. Enumerations.Introductory Example: Wavelengths of Colors. C-Style Enumerations. Object-Oriented Enumerations. Example: Geological Classification. PART OF THE PICTURE: The C++ Type Hierarchy. OBJECTive Thinking: Inheritance and Polymorphism.
13. Multidimensional Arrays.Introductory Example: Mileage between Cities. C-Style Multidimensional Arrays. Multidimensional vector“T” Objects. A vector “T” -Based Matrix Library. PART OF THE PICTURE: Computer Graphics. OBJECTive Thinking: The Matrix Class Revisited.
14. Pointers and Run-Time Allocation.Introduction to Pointer Variables. Run-Time Allocation Using new and delete. The STL list Class Template. Pointers and Command-Line Arguments. PART OF THE PICTURE: Algorithm Efficiency. OBJECTive Thinking: Pointers and Polymorphism.
15. Data Structures.Introductory Example: The Binary Representation of Integers. The Queue Container. Recursion Revisited. An Introduction to Trees. Trees in STL. PART OF THE PICTURE: Expert Systems.
商品描述(中文翻譯)
摘要
我認為這本書寫得很好,呈現得很有智慧。它不僅是 C++ 程式設計的良好入門,也是整個計算機科學的良好介紹。
- Larry Herman, UNITEC 科技學院
這本書有非常多的練習題,類型也非常多樣化。這是吸引我閱讀這本書的原因之一。我對這本書中練習題的數量和質量感到滿意。
- Cary Laxer, 計算機科學, Rose-Hulman 科技學院
Joel Adams 和 Larry Nyhoff 針對一年級計算機課程的兩個關鍵目標進行了探討:讓學生掌握特定語言的程式設計技能,並向他們介紹計算機科學的更大領域。在這本暢銷書的第三版中,這些經驗豐富的教育者提供了 C++ 方法和技術的全面介紹,同時向學生展示計算作為一門學科的概覽,使他們能夠將所學知識放入更廣泛的背景中。
主要特點
- 提供計算專家精心挑選的「全貌」介紹,作為計算機科學學科的概述
- 提供 500 道快速測驗問題及其答案,以及 800 道可用於書面作業的練習題
- 包含來自各種應用領域的 300 多個程式設計問題
本版新增內容
- 新增一章有關資料結構
- 每章開頭列出學習目標
- 每章結尾的摘要包含關鍵詞和註解,幫助學生識別每章的主要概念
- 案例研究包含完整解決方案的問題,包括設計和程式碼
- 特別選擇的 OBJECTive Thinking 部分介紹類別和物件
- Prentice Hall 伴隨網站 http://www.prenhall.com/adams 和作者網站 http://cs.calvin.edu/books/c++/intro/3e/
目錄
0. 開始快照。
全貌:什麼是計算機科學?全貌:計算的歷史。全貌:計算機系統介紹。
1. 問題解決與軟體工程。
歡迎來到 C++ 的世界。通過軟體工程進行問題解決。案例研究:收入計算。OBJECTive Thinking:作為物件的球體。全貌:倫理與問題。
2. 類型。
入門範例:計算學生薪資。類型與宣告。全貌:資料表示。OBJECTive Thinking:屬性變數。
3. 操作與表達式。
入門範例:愛因斯坦的方程式。數值表達式。布林表達式。字元表達式。賦值表達式。輸入/輸出表達式。範例:卡車車隊會計。OBJECTive Thinking:初始化與建構函數。
4. 函數。
入門範例:使用表達式進行溫度轉換。入門範例:使用函數進行溫度轉換。使用選擇的函數。使用重複的函數。全貌:可計算性理論。案例研究:一個 8 功能計算器。庫的介紹。OBJECTive Thinking:類別方法。
5. 使用類別。
入門範例:「農夫在山谷中」。類別介紹。istream 和 ostream 類別。使用字串物件進行計算。案例研究:解碼電話號碼。全貌:模擬。OBJECTive Thinking:實例方法。
6. 選擇。
入門範例:學校吉祥物。選擇:if 語句。選擇:switch 語句。範例:計算字母成績。選擇:條件表達式。全貌:布林邏輯與數位設計。全貌:計算機架構。OBJECTive Thinking:變更方法。
7. 重複。
入門範例:高斯的懲罰。重複:for 迴圈。重複:while 迴圈。重複:do 迴圈。輸入迴圈。選擇正確的迴圈。案例研究:計算折舊。全貌:算法分析介紹。OBJECTive Thinking:代碼。通過繼承重用。
8. 深入函數。
入門範例:一步整數除法。參數深入探討。參數使用範例。內聯函數。範圍、重載與模板。遞迴簡介。全貌:數值方法。OBJECTive Thinking:類別變數、實例變數與範圍。
9. 檔案與串流。
入門範例:天氣數據分析。ifstream 和 ofstream 物件。範例:掃描病毒。其他串流特性。全貌:資料庫系統。OBJECTive Thinking:物件與串流。
10. 陣列與向量「T」。
入門範例:品質控制。C 風格陣列。排序。搜尋。範例:處理員工資訊。vector「T」類別模板。範例:處理測試成績。OBJECTive Thinking:物件與序列。
11. 建立類別。
入門範例:建模溫度。設計類別。實現類別屬性。實現類別操作。範例:檢索學生資訊。OBJECTive Thinking:運算子重載與友元。
12. 列舉。
入門範例:顏色的波長。C 風格列舉。物件導向列舉。範例:地質分類。全貌:C++ 類型層次結構。OBJECTive Thinking:繼承與多型。
13. 多維陣列。
入門範例:城市之間的里程。C 風格多維陣列。多維 vector「T」物件。基於 vector「T」的矩陣庫。全貌:計算機圖形學。OBJECTive Thinking:矩陣類別重訪。
14. 指標與執行時分配。
指標變數介紹。使用 new 和 delete 進行執行時分配。STL list 類別模板。指標與命令列參數。全貌:算法效率。OBJECTive Thinking:指標與多型。
15. 資料結構。
入門範例:整數的二進位表示。佇列容器。重訪遞迴。樹的介紹。STL 中的樹。全貌:專家系統。