C++大学教程
C++大学教程封面图

C++大学教程

(美) 戴特尔 (Deitel,P.J.) , 著

出版社:电子工业出版社

年代:2010

定价:105.0

书籍简介:

本书是一本C++编程方面的优秀教程,全面地介绍了过程式编程与面向对象编程的原理和方法,细致地分析了各种性能问题、移植性问题和可能出错的地方,介绍了如何提高软件工程质量,并提供了丰富的自测练习和项目练习。可以说本书是最好的学习C++语言的教程之一,是学习C++的“宝典”。

作者介绍:

Paul J.Deitel和HarveyM.Deitel博士是Deitel&Associates公司的创立者,该公司是一家国际认可的企业培训和媒体内容制作机构,主要针对C++、Java、C、C#、Visual Basic。.NET,Visual C++。.NET、XML、Python,Pen、Internes、Web和对象技术。Deitel父子编写的其他许多教材都非常畅销,包括《Java大学教程(第七版)》、《因特网和万维网大学教程》和《C大学教程(第五版)》等。

书籍目录:

Chapter 1 Introduction to Computers, the Internet and the World Wide Web

1.1 Introduction

1.2 What Is a Computer?

1.3 Computer Organization

1.4 Early Operating Systems

1.5 Personal, Distributed and Client/Server Computing

1.6 The Internet and the World Wide Web

1.7 Web 2.01

1.8 Machine Languages, Assembly Languages and High-Level Languages

1.9 History of C and C++

1.10 C++ Standard Library

1.11 History of Java

1.12 Fortran, COBOL, Pascal and Ada

1.13 BASIC, Visual Basic, Visual C++, C# and .NET

1.14 Key Software Trend: Object Technology

1.15 Typical C++ Development Environment

1.16 Notes About C++ and C++ How to Program, 6/e

1.17 Test-Driving a C++ Application

1.18 Software Technologies

1.19 Game Programming with the Ogre Libraries

1.20 Future of C++: Open Source Boost Libraries, TR1 and C++0x

1.21 Software Engineering Case Study:Introduction to Object Technology and the UML

1.22 Web Resources

Chapter 2 Introduction to C++ Programming

2.1 Introduction

2.2 First Program in C++: Printing a Line of Text

2.3 Modifying Our First C++ Program

2.4 Another C++ Program: Adding Integers

2.5 Memory Concepts

2.6 Arithmetic

2.7 Decision Making: Equality and Relational Operators

2.8 (Optional) Software Engineering Case Study: Examining the ATM Requirements Specification

Chapter 3 Introduction to Classes and Objects

3.1 Introduction

3.2 Classes, Objects, Member Functions and Data Members

3.3 Overview of the Chapter Examples

3.4 Defining a Class with a Member Function

3.5 Defining a Member Function with a Parameter

3.6 Data Members, set Functions and get Functions

3.7 Initializing Objects with Constructors

3.8 Placing a Class in a Separate File for Reusability

3.9 Separating Interface from Implementation

3.10 Validating Data with set Functions

3.11 (Optional) Software Engineering Case Study:

Identifying the Classes in the ATM Requirements Specification

Chapter 4 Control Statements: Part 1

4.1 Introduction

4.2 Algorithms

4.3 Pseudocode

4.4 Control Structures

4.5 i f Selection Statement

4.6 if…else Double-Selection Statement

4.7 while Repetition Statement .

4.8 Formulating Algorithms: Counter-Controlled Repetition

4.9 Formulating Algorithms: Sentinel-Controlled Repetition

4.10 Formulating Algorithms: Nested Control Statements

4.11 Assignment Operators

4.12 Increment and Decrement Operators

4.13 (Optional) Software Engineering Case Study: Identifying Class Attributes in the ATM System

Chapter 5 Control Statements: Part 2

5.1 Introduction

5.2 Essentials of Counter-Controlled Repetition

5.3 for Repetition Statement

5.4 Examples Using the for Statement

5.5 do...while Repetition Statement

5.6 switch Multiple-Selection Statement

5.7 break and continue Statements

5.8 Logical Operators

5.9 Confusing the Equality (==) and Assignment (=) Operators

5.10 Structured Programming Summary

5.11 (Optional) Software Engineering Case Study:

Identifying Objects' States and Activities in the ATM System

Chapter 6 Functions and an Introduction to Reeursion

6.1 Introduction

6.2 Program Components in C++

6.3 Math Library Functions

6.4 Function Definitions with Multiple Parameters

6.5 Function Prototypes and Argument Coercion

6.6 C++ Standard Library Header Files

6.7 Case Study: Random Number Generation

6.8 Case Study: Game of Chance; Introducing enum

6.9 Storage Classes

6.10 Scope Rules

6.11 Function Call Stack and Activation Records

6.12 Functions with Empty Parameter Lists

6.13 Inline Functions

6.14 References and Reference Parameters

6.15 Default Arguments

6.16 Unary Scope Resolution Operator

6 17 Function Overloading

6.18 Function Templates

6.19 Recursion

6.20 Example Using Recursion: Fibonacci Series

6.21 Recursion vs. Iteration

6.22 (Optional) Software Engineering Case Study: Identifying Class Operations in the ATM System

Chapter 7 Arrays and Vectors

7.1 Introduction

7.2 Arrays

7.3 Declaring Arrays

7.4 Examples Using Arrays

7.4.1 Declaring an Array and Using a Loop to Initialize the Array's Elements

7.4.2 Initializing an Array in a Declaration with an Initializer List ~ ~

7.4.3 Specifying an Array's Size with a Constant Variable and

Setting Array Elements with Calculations

7.4.4 Summing the Elements of an Array

7.4.5 Using Bar Charts to Display Array Data Graphically

7.4.6 Using the Elements of an Array as Counters

7.4.7 Using Arrays to Summarize Survey Results

7.4.9 Static Local Arrays and Automatic Local Arrays

7.5 Passing Arrays to Functions

7.6 Case Study: Class GradBeook Using an Array to Store Grades

7.7 Searching Arrays with Linear Search

7.8 Sorting Arrays with Insertion Sort

7.9 Multidimensional Arrays

7.10 Case Study: Class GradeBook Using a Two-Dimensional Array

7.11 Introduction to C++ Standard Library Class Template ve c t or

7.12 (Optional) Software Engineering Case Study: Collaboration Among Objects in the ATM System

Chapter 8 Painters and Painter-Based Strings

8.1 Introduction

8.2 Pointer Variable Declarations and Initialization

8.3 Pointer Operators

8.4 Passing Arguments to Functions by Reference with Pointers

8.5 Using const with Pointers

8.6 Selection Sort Using Pass-by-Reference .

8.7 sizeof Operator

8.8 Pointer Expressions and Pointer Arithmetic

8.9 Relationship Between Pointers and Arrays

8.10 Arrays of Pointers

8.11 Case Study: Card Shuffling and Dealing Simulation

8.12 Function Pointers

8.13 Introduction to Pointer-Based String Processing

8.13.1 Fundamentals of Characters and Pointer-Based Strings

8.13.2 String-Manipulation Functions of the String-Handling Library

Chapter 9 Classes: A Deeper Look, Part 1

9.1 Introduction

9.2 Time Class Case Study

9.3 Class Scope and Accessing Class Members

9.4 Separating Interface from Implementation

9.5 Access Functions and Utility Functions

9.6 Time Class Case Study: Constructors with Default Arguments

9.7 Destructors

9.8 When Constructors and Destructors Are Called

9.9 Time Class Case Study: A Subtle Trait——Returning a Reference to a private Data Member

9.10 Default Memberwise Assignment

9.11 (Optional) Software Engineering Case Study: Starting to Program the Classes of the ATM System.

Chapter 10 Classes: A Deeper Look, Part 2

10.1 Introduction

10.2 const (Constant) Objects and const Member Functions

10.3 Composition: Objects as Members of Classes

10.4 friend Functions and friend Classes

10.5 Using the this Pointer

10.6 Dynamic Memory Management with Operators new and delete

10.7 static Class Members

10.8 Data Abstraction and Information Hiding

10.8.1 Example: Array Abstract Data Type

10.8.2 Example: String Abstract Data Type

10.8.3 Example: Queue Abstract Data Type

10.9 Container Classes and Iterators

10.10 Proxy Classes

Chapter 11 Operator Overloading; String and Array Objects

11.1 Introduction

11.2 Fundamentals of Operator Overloading

11.3 Restrictions on Operator Overloading

11.4 Operator Functions as Class Members vs. Global Functions

11.5 Overloading Stream Insertion and Stream Extraction Operators

11.6 Overloading Unary Operators

……

Chapter 12 Object-0riented Programming:Inheritance

Chapter 13 Object-Oriented Programming:Polymorphism

Chapter 14 Templates

Chapter 15 Stream Input/Output

Chapter 16 Exception Handling

Chapter 17 File Processing

Chapter 18 Class string and String Stream Processing

Chapter 19 Searching and Sorting

Chapter 20 Data Structures

Chapter 21 Standard Template Library (STL)

Chapter 22 Game Programming with Ogre

Chapter 23 Boost Libraries, Technical Report I and C++0x

Chapter 24 Other Topics

Appendix A Operator Precedence and Associativity Chart

Appendix B ASCII Character Set

Appendix C Fundamental Types

Appendix D Number Systems

Appendix E C Legacy Code Topics

Appendix F Preprocessor

Appendix G ATM Case Study Code

Appendix H UML 2: Additional Diagram Types

Appendix I Using the Visual Studio Debugger

Appendix J Using the GNU C++ Debugger

Bibliography

Index

内容摘要:

《C++大学教程(第6版)(英文版)(含CD光盘1张)》是一本C++编程方面的优秀教材,全面介绍了面向对象编程的原理和方法,详细分析了与C++编程有关的技术,具体包括类与对象、控制语句、函数与递归、数组、指针、运算符重载、继承、多态、模板、流输入/输出、异常处理、文件处理、搜索与排序、数据结构、标准模板库等内容,本书的同步学习网站上还包含了更多的扩展内容。全书以“活代码”方式详细分析了每个知识要点,是初学者和中高级程序员学习C++编程的理想用书。 本书可作为高等院校相关专业的编程语言教材和C++编程教材,也是软件设计人员学习C++编程的理想读物。

编辑推荐:

通过完整,权哦性的DEITEL活代码介绍C++,面向对象编程(OOP)和使用UML 2的面向对象设计(OOD)。C++是极受大家欢迎的面向对象程序设计语言之一。
尽早接触类/对象/面向对象编程
类,对象,封装
继承,多态性
完整的面向对象编程实例研究:
Time类,Grade Book类.Employee类
基础知识
历史。硬件,软件
输入/输出流,类型,运算
控制语句,函数
数组,vector类模板
指针,引用
字符串类,C风格的字符串
运算符重载
异常处理,文件
一位运算及字符操作
GNU C++调试器与Visual Studio调试器
数据结构
递归,查找,排序
链表,队列,堆栈,树
模板
标准模板库:容器,迭代器和算法
OOOD/UML2 ATM实例研究(选学)
确定类,属性,状态,活动。操作,协作
示图:用例图,类图,状态图,
活动图,通信图,顺序图
开源的C++库
使用Orge进行游戏编程
Boost C++库与C++的将来
《C++大学教程(第六版)(英文版)》围绕完整的实例研究。详尽地讲述C++面向对象编程。主要的实例研究包括:Grade Book类、Time类、Employee类以及可选学的OOD/UML2ATM系统。
《C++大学教程(第六版)(英文版)》的用户资源包括Web站点,其中提供了教材中的代码示例以及与教师、学生和专业人士相关的信息。

书籍规格:

书籍详细信息
书名C++大学教程站内查询相似图书
9787121121975
如需购买下载《C++大学教程》pdf扫描版电子书或查询更多相关信息,请直接复制isbn,搜索即可全网搜索该ISBN
出版地北京出版单位电子工业出版社
版次1版印次1
定价(元)105.0语种英文
尺寸26 × 18装帧平装
页数 900 印数

书籍信息归属:

C++大学教程是电子工业出版社于2010.12出版的中图分类号为 TP312 的主题关于 C语言-程序设计-高等学校-教材-英文 的书籍。