国外计算机科学教材系列C++大学教程(第9版)(英文版)/(美)保罗.戴特

本书特色

[

本书是一本C 编程方面的优秀教材,全面介绍了面向对象编程的原理与方法,详细分析了与C 编程有关的技术。本书的主要内容包括类与对象、控制语句、函数与递归、数组、指针、运算符重载、继承、多态、输入/输出流、异常处理、文件处理、模板、搜索与排序等。全书以“活代码”的方式详细分析了每个知识要点,提供了丰富的自测练习和项目练习,是初学者和中高级程序员学习C 编程的理想用书。

]

内容简介

[

本书是一本C++编程方面的很好教材,全面介绍了面向对象编程的原理与方法,详细分析了与C++编程有关的技术。本书的主要内容包括类与对象、控制语句、函数与递归、数组、指针、运算符重载、继承、多态、输入/输出流、异常处理、文件处理、模板、搜索与排序等。全书以“活代码”的方式详细分析了每个知识要点,提供了丰富的自测练习和项目练习,是初学者和中不错程序员学习C++编程的理想用书。

]

作者简介

[

Paul Deitel和Harvey Deitel是全球畅销的编程语言教材和专业图书作家,“How to Program”系列是其最负盛名的一套计算机编程教材,已经销售近40年,并被翻译成中文在内的十几种语言。他们成立的Deitel & Associates公司是一家国际知名的企业培训和写作公司,专门进行计算机编程语言、对象技术、移动应用开发及Internet和Web软件技术方面的培训和写作,出版了一流的编程专业的大学教材、 专业图书以及LiveLessons视频课程。
Paul Deitel和Harvey Deitel是全球畅销的编程语言教材和专业图书作家,“How to Program”系列是其最负盛名的一套计算机编程教材,已经销售近40年,并被翻译成中文在内的十几种语言。他们成立的Deitel & Associates公司是一家国际知名的企业培训和写作公司,专门进行计算机编程语言、对象技术、移动应用开发及Internet和Web软件技术方面的培训和写作,出版了一流的编程专业的大学教材、 专业图书以及LiveLessons视频课程。

]

目录

ContentsChapter 1 Introduction to Computers and C 11.1 Introduction 21.2 Computers and the Internet in Industry and Research 21.3 Hardware and Software 41.4 Data Hierarchy 61.5 Machine Languages, Assembly Languages and High-Level Languages 71.6 C 81.7 Programming Languages 91.8 Introduction to Object Technology 101.9 Typical C Development Environment 131.10 Test-Driving a C Application 151.11 Operating Systems 201.12 The Internet and World Wide Web 221.13 Some Key Software Development Terminology 231.14 C 11 and the Open Source Boost Libraries 251.15 Keeping Up to Date with Information Technologies 251.16 Web Resources 26Chapter 2 Introduction to C Programming; Input/Output and Operators 312.1 Introduction 312.2 First Program in C : Printing a Line of Text 322.3 Modifying Our First C Program 352.4 Another C Program: Adding Integers 362.5 Memory Concepts 392.6 Arithmetic 402.7 Decision Making: Equality and Relational Operators 432.8 Wrap-Up 47Chapter 3 Introduction to Classes, Objects and Strings 553.1 Introduction 553.2 Defining a Class with a Member Function 563.3 Defining a Member Function with a Parameter 583.4 Data Members, set Member Functions and get Member Functions 613.5 Initializing Objects with Constructors 663.6 Placing a Class in a Separate File for Reusability 693.7 Separating Interface from Implementation 723.8 Validating Data with set Functions 763.9 Wrap-Up 80Chapter 4 Control Statements: Part 1; Assignment, and – – Operators 874.1 Introduction 874.2 Algorithms 884.3 Pseudocode 884.4 Control Structures 894.5 if Selection Statement 924.6 if…else Double-Selection Statement 934.7 while Repetition Statement 974.8 Formulating Algorithms: Counter-Controlled Repetition 984.9 Formulating Algorithms: Sentinel-Controlled Repetition 1034.10 Formulating Algorithms: Nested Control Statements 1114.11 Assignment Operators 1164.12 Increment and Decrement Operators 1164.13 Wrap-Up 118Chapter 5 Control Statements: Part 2; Logical Operators 1315.1 Introduction 1315.2 Essentials of Counter-Controlled Repetition 1325.3 for Repetition Statement 1335.4 Examples Using the for Statement 1365.5 do…while Repetition Statement 1405.6 switch Multiple-Selection Statement 1415.7 break and continue Statements 1485.8 Logical Operators 1505.9 Confusing the Equality (==) and Assignment (=) Operators 1535.10 Structured Programming Summary 1545.11 Wrap-Up 158Chapter 6 Functions and an Introduction to Recursion 1676.1 Introduction 1686.2 Program Components in C 1686.3 Math Library Functions 1696.4 Function Definitions with Multiple Parameters 1706.5 Function Prototypes and Argument Coercion 1746.6 C Standard Library Headers 1766.7 Case Study: Random Number Generation 1776.8 Case Study: Game of Chance; Introducing enum 1826.9 C 11 Random Numbers 1856.10 Storage Classes and Storage Duration 1866.11 Scope Rules 1896.12 Function Call Stack and Activation Records 1916.13 Functions with Empty Parameter Lists 1946.14 Inline Functions 1956.15 References and Reference Parameters 1966.16 Default Arguments 1986.17 Unary Scope Resolution Operator 2006.18 Function Overloading 2006.19 Function Templates 2036.20 Recursion 2056.21 Example Using Recursion: Fibonacci Series 2086.22 Recursion vs. Iteration 2106.23 Wrap-Up 213Chapter 7 Class Templates array and vector; Catching Exceptions 2327.1 Introduction 2337.2 arrays 2337.3 Declaring arrays 2347.4 Examples Using arrays 2357.5 Range-Based for Statement 2447.6 Case Study: Class GradeBook Using an array to Store Grades 2467.7 Sorting and Searching arrays 2517.8 Multidimensional arrays 2527.9 Case Study: Class GradeBook Using a Two-Dimensional array 2557.10 Introduction to C Standard Library Class Template vector 2607.11 Wrap-Up 264Chapter 8 Pointers 2798.1 Introduction 2808.2 Pointer Variable Declarations and Initialization 2808.3 Pointer Operators 2818.4 Pass-by-Reference with Pointers 2838.5 Built-In Arrays 2878.6 Using const with Pointers 2898.7 sizeof Operator 2928.8 Pointer Expressions and Pointer Arithmetic 2948.9 Relationship Between Pointers and Built-In Arrays 2968.10 Pointer-Based Strings 2998.11 Wrap-Up 301Chapter 9 Classes: A Deeper Look; Throwing Exceptions 3169.1 Introduction 3179.2 Time Class Case Study 3179.3 Class Scope and Accessing Class Members 3239.4 Access Functions and Utility Functions 3249.5 Time Class Case Study: Constructors with Default Arguments 3249.6 Destructors 3289.7 When Constructors and Destructors Are Called 3299.8 Time Class Case Study: A Subtle Trap— Returning a Reference or a Pointer to a private Data Member 3319.9 Default Memberwise Assignment 3349.10 const Objects and const Member Functions 3359.11 Composition: Objects as Members of Classes 3379.12 friend Functions and friend Classes 3419.13 Using the this Pointer 3439.14 static Class Members 3479.15 Wrap-Up 351Chapter 10 Operator Overloading; Class string 36110.1 Introduction 36210.2 Using the Overloaded Operators of Standard Library Class string 36210.3 Fundamentals of Operator Overloading 36510.4 Overloading Binary Operators 36610.5 Overloading the Binary Stream Insertion and Stream Extraction Operators 36710.6 Overloading Unary Operators 37010.7 Overloading the Unary Prefix and Postfix and — Operators 37010.8 Case Study: A Date Class 37110.9 Dynamic Memory Management 37510.10 Case Study: Array Class 37710.11 Operators as Member vs. Non-Member Functions 38710.12 Converting Between Types 38810.13 explicit Constructors and Conversion Operators 38910.14 Overloading the Function Call Operator () 39110.15 Wrap-Up 392Chapter 11 Object-Oriented Programming: Inheritance 40211.1 Introduction 40211.2 Base Classes and Derived Classes 40311.3 Relationship between Base and Derived Classes 40511.4 Constructors and Destructors in Derived Classes 42211.5 public, protected and private Inheritance 42411.6 Software Engineering with Inheritance 42511.7 Wrap-Up 425Chapter 12 Object-Oriented Programming: Polymorphism 43112.1 Introduction 43212.2 Introduction to Polymorphism: Polymorphic Video Game 43212.3 Relationships Among Objects in an Inheritance Hierarchy 43312.4 Type Fields and switch Statements 44312.5 Abstract Classes and Pure virtual Functions 44412.6 Case Study: Payroll System Using Polymorphism 44512.7 (Optional) Polymorphism, Virtual Functions and Dynamic Binding “Under the Hood” 45612.8 Case Study: Payroll System Using Polymorphism and Runtime Type Information with Downcasting, dynamic_cast, typeid and type_info 45912.9 Wrap-Up 462Chapter 13 Stream Input/Output: A Deeper Look 46813.1 Introduction 46913.2 Streams 46913.3 Stream Output 47213.4 Stream Input 47313.5 Unformatted I/O Using read, write and gcount 47613.6 Introduction to Stream Manipulators 47713.7 Stream Format States and Stream Manipulators 48113.8 Stream Error States 48813.9 Tying an Output Stream to an Input Stream 49013.10 Wrap-Up 490Chapter 14 File Processing 49914.1 Introduction 49914.2 Files and Streams 50014.3 Creating a Sequential File 50014.4 Reading Data from a Sequential File 50414.5 Updating Sequential Files 50814.6 Random-Access Files 50814.7 Creating

封面

国外计算机科学教材系列C++大学教程(第9版)(英文版)/(美)保罗.戴特

书名:国外计算机科学教材系列C++大学教程(第9版)(英文版)/(美)保罗.戴特

作者:美 Paul Deitel(保罗 ? 戴

页数:860

定价:¥159.0

出版社:电子工业出版社

出版日期:2018-09-01

ISBN:9787121295423

PDF电子书大小:93MB 高清扫描完整版

百度云下载:http://www.chendianrong.com/pdf

发表评论

邮箱地址不会被公开。 必填项已用*标注