编辑推荐
null
内容简介
Paul Deitel、Harvey Deitel编著的《C++11程序设计(第2版英文版)》利用活代码深入研究C++11和C++标准库。内容包括C++11的新特性,基于模板的标准库容器、迭代器和算法,C++标准库字符串,C++标准库数组,构造重要类,面向对象编程的案例研究,异常处理,等等。本书示例丰富,包含了从计算机科学、商业、模拟、游戏和其他主题中挑选出来的各种示例程序,并在三个具有工业强度的C++11编译器上对代码进行了测试;书中配有大量的插图,包括图表、线条图、UML图、程序和程序输出。 本书适合具有一定高级语言编程背景的程序员阅读。
目 录
前言1 Introduction 1.1 Introduction 1.2 C++ 1.3 Object Technology 1.4 Typical C++ Development Environment 1.5 Test-Driving a C++ Application 1.6 Operating Systems 1.6.1 Windows—A Proprietary Operating System 1.6.2 Linux—An Open-Source Operating System 1.6.3 Apple’s OS X; Apple’s iOS for iPhone?, iPad? and iPod Touch? Devices 1.6.4 Google’s Android 1.7 C++11 and the Open Source Boost Libraries 1.8 Web Resources2 Introduction to C++ Programming, Input/Output and Operators 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 Arithmetic 2.6 Decision Making: Equality and Relational Operators 2.7 Wrap-Up3 Introduction to Classes, Objects and Strings 3.1 Introduction 3.2 Defining a Class with a Member Function 3.3 Defining a Member Function with a Parameter 3.4 Data Members, set Member Functions and get Member Functions 3.5 Initializing Objects with Constructors 3.6 Placing a Class in a Separate File for Reusability 3.7 Separating Interface from Implementation 3.8 Validating Data with set Functions 3.9 Wrap-Up4 Control Statements: Part 1; Assignment, ++ and -- Operators 4.1 Introduction 4.2 Control Structures 4.3 if Selection Statement 4.4 if … else Double-Selection Statement 4.5 while Repetition Statement 4.6 Counter-Controlled Repetition 4.7 Sentinel-Controlled Repetition 4.8 Nested Control Statements 4.9 Assignment Operators 4.10 Increment and Decrement Operators 4.11 Wrap-Up5 Control Statements: Part 2; Logical Operators 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 Wrap-Up6 Functions and a……
媒体评论
null