經(jīng)典原版書(shū)庫(kù):C++程序設(shè)計(jì)(英文版·第3版)
定 價(jià):79 元
- 作者:(美),梁勇 ,(Y.Daniel Liang) 著
- 出版時(shí)間:2013/6/1
- ISBN:9787111425052
- 出 版 社:機(jī)械工業(yè)出版社
- 中圖法分類:TP312C++
- 頁(yè)碼:689
- 紙張:膠版紙
- 版次:1
- 開(kāi)本:16開(kāi)
《經(jīng)典原版書(shū)庫(kù):C++程序設(shè)計(jì)(英文版·第3版)》保持了Liang博士系列叢書(shū)中一貫的標(biāo)志性的教與學(xué)的哲學(xué):以實(shí)例教,由實(shí)踐學(xué)。通過(guò)使用他所提出的已經(jīng)經(jīng)過(guò)實(shí)踐檢驗(yàn)的“基礎(chǔ)先行”的方法,Liang博士在《經(jīng)典原版書(shū)庫(kù):C++程序設(shè)計(jì)(英文版·第3版)》中通過(guò)大量實(shí)例闡明了基本的C++特性,使得學(xué)生可以通過(guò)實(shí)踐來(lái)更有效地進(jìn)行學(xué)習(xí)。
在引入面向?qū)ο蟪绦蛟O(shè)計(jì)思想之前,Liang博士使用清晰簡(jiǎn)明的語(yǔ)言介紹了C++語(yǔ)言的基礎(chǔ)概念和基本的程序設(shè)計(jì)技術(shù),如循環(huán)、逐步求精等。這些概念都是使用簡(jiǎn)短且吸引人的實(shí)例來(lái)進(jìn)行闡明的。他還在實(shí)例研究中給出了一些較大規(guī)模的例子,對(duì)這些實(shí)例,進(jìn)行了整體的分析討論和詳細(xì)的逐行注解。
《經(jīng)典原版書(shū)庫(kù):C++程序設(shè)計(jì)(英文版·第3版)》可以幫助學(xué)生循序漸進(jìn)地學(xué)習(xí)所有必須和重要的基本概念,然后再進(jìn)入到面向?qū)ο蟪绦蛟O(shè)計(jì)方法的學(xué)習(xí),最終掌握構(gòu)建具有異常處理和輸入輸出功能的有意義的應(yīng)用程序的方法。貫穿全書(shū)的實(shí)例和練習(xí)都以問(wèn)題求解為中心,試圖培養(yǎng)學(xué)生開(kāi)發(fā)可重用組件并創(chuàng)建實(shí)際項(xiàng)目的意識(shí)。
《經(jīng)典原版書(shū)庫(kù):C++程序設(shè)計(jì)(英文版·第3版)》特色: 更新了書(shū)中的實(shí)例和練習(xí),以激發(fā)讀者的編程興趣! 〉4章介紹了string類型和簡(jiǎn)單輸入/輸出,可以使讀者較早使用字符串和文件編寫(xiě)程序! 〉6章介紹函數(shù),涵蓋了所有與函數(shù)相關(guān)的問(wèn)題。 常見(jiàn)錯(cuò)誤和陷阱部分可以幫助讀者避免常見(jiàn)編程錯(cuò)誤! U(kuò)充了算法技術(shù)方面的內(nèi)容,采用新的實(shí)例闡釋動(dòng)態(tài)規(guī)劃算法、分治策略、回溯法和貪婪算法,以設(shè)計(jì) 高效算法。 介紹了foreach循環(huán)、自動(dòng)類型推斷、Lambda表達(dá)式等C++11的新特性。
Y. Daniel Liang 普度大學(xué)終身教授,阿姆斯特朗亞特蘭大州立大學(xué)計(jì)算機(jī)科學(xué)系教授。他所編寫(xiě)的Java教程在美國(guó)大學(xué)Java課程中采用率極高,同時(shí)他還兼任Prentice Hall Java系列叢書(shū)的編輯。
Chapter 1 Introduction to Computers,Programs, and C++
1.1 Introduction
1.2 What is a Computer?
1.3 Programming Languages
1.4 Operating Systems
1.5 History of C++
1.6 A Simple C++ Program
1.7 C++ Program-Development Cycle
1.8 Programming Style and Documentatjon
1.9 Programming Errors
Chapter 2 Elementary Programming
2.1 Introduction
2.2 Writing a Simple Program
2.3 Reading input from the Keyboard
2.4 Identifiers
2.5 Variables
2.6 Assignment Statements and Assignment Expressions
2.7 Named Constants
2.8 Numeric Data Types and Operations
2.9 Evaluating Expressions and Operator Precedence
2.10 Case Study: Displaying the Current Time
2.11 Augmented Assignment Operators.
2.12 Increment and Decrement Operators
2.13 Numeric Type Conversions
2.14 Software Development Process
2.15 Case Study: Counting Monetary Units
2.16 Common Errors
Chapter3 Selections
3.1 Introduction
3.2 The bool Data Type
3.3 if Statements
3.4 Two-Way if-else Statements
3.5 Nested if and Multi-Way if-else Statements
3.6 Common Errors and Pitfalls
3.7 Case Study: Computing Body Mass Index
3.8 Case Study: Computing Taxes
3.9 Generating Random Numbers
3.10 Logical Operators
3.11 Case Study: Determining Leap Year
3.12 Case Study: Lottery
3.13 switch Statements
3.14 Conditional Expressions
3.15 Operator Precedence and Associativity
3.16 Debugging
Chapter 4 Mathematical Functions, characters, and Strings
4.1 Introduction
4.2 Mathematical Functions
4.3 Character Data Type and Operations
4.4 Case Study: Generating Random Characters
4.5 Case Study: Guessing Birthdays
4.6 Character Functions
4.7 Case Study: Converting a Hexadecimal Digit to a Decimal Value
4.8 The string Type
4.9 Case Study: Revising the Lottery Program Using Strings
4.10 Formatting Console Output
4.11 Simple File Input and Output
Chapter 5 Loops
5.1 Introduction
5.2 The while Loop
5.3 The do-while Loop
5.4 The for Loop
5.5 Which Loop to Use?
5.6 Nested Loops
5.7 Minimizing Numeric Errors
5.8 Case Studies
5.9 Keywords break and continue
5.10 Case Study: Checking Palindromes
5.11 Case Study: Displaying Prime Numbers
Chapter 6 Functions
6.1 Introduction
6.2 Defining a Function
6.3 Calling a Function
6.4 void Functions
6.5 Passing Arguments by Value
6.6 Modularizing Code
6.7 Overloading Functions
6.8 Function Prototypes
6.9 Default Arguments
6.10 Inline Functions
6.11 Local, Global, and Static Local Variables
6.12 Passing Arguments by Reference
6.13 Constant Reference Parameters
6.14 Case Study: Converting Hexadecimals to Decimals
6.15 Function Abstraction and Stepwise Refinement
Chapter 7 Single-Dimensional Arrays and C-Strings
7.1 Introduction
7.2 Array Basics
7.3 Problem: Lotto Numbers
……
Chapter 8 Multidimensional Arrays
Chapter 9 Objects and Classes
Chapter 10 Object-Oriented Thinking
Chapter 11 Pointers and Dynamic Memory Management
Chapter 12 Templates, Vectors, and stacks
Chapter 13 File Input and Output
Chapter 14 Operator Overloading
Chapter 15 Inheritance and Polymorphism
Chapter 16 Exception Handing
Chapter 17 Recursion
APPENDIXES
INDEX
CREDIT