找回密码
 立即注册
函数functionsand操练 | 企业管理 2022-09-22 94 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
来历版块:C/C++
压缩包内文件格式DF文件
附件来历:互联网
运行平台:Windows平台
是否经本人验证:是
附件性质:免费
详细说明:本书作者依据自己学习C++的亲自领会及多年教育经验,用简单的比如和简练的讲述解说C++编程,别具特点。全书共分十八章,内容触及目标的演化、数据笼统、隐藏实现、初始化与清除、函数重载与缺参数、输入输出流介绍、常量、内联函数、命名控制、引证和复制结构函数、运算符重载、动态目标创建、承继和组合、多态和虚函数、模板和包容器类、多重承继、反常管理和运行时类型识别。本书作为正式教材和自学用书均十分优秀,作为程序设计者的参考用书亦极为适合。
注意:附件一共有6个,要全面下载结束才可以解压缩
目录
译者序
前语
第1章目标的演化1
1.1基本概念1
1.1.1目标:特性+行为1
1.1.2承继:类型关系1
1.1.3多态性2
1.1.4操作概念:OOP程序像啥3
1.2为何C++会成功3
1.2.1较好的C3
1.2.2选用渐进的学习方法4
1.2.3运行效率4
1.2.4系统更简单表达和理解4
1.2.5“库”使你事半功倍4
1.2.6错误管理5
1.2.7大程序设计5
1.3方法学介绍5
1.3.1复杂性5
1.3.2内部原则6
1.3.3外部原则7
1.3.4目标设计的五个阶段9
1.3.5方法许诺啥10
1.3.6方法应当提供啥10
1.4起草:最小的方法12
1.4.1条件13
1.4.2高概念14
1.4.3论述(treatment)14
1.4.4结构化14
1.4.5开发16
1.4.6重写17
1.4.7逻辑17
1.5别的方法17
1.5.1Booch18
1.5.2责任驱动的设计(RDD)19
1.5.3目标建模技术(OMT)19
1.6为向OOP改变而采纳的策略19
1.6.1逐步进入OOP19
1.6.2管理障碍20
1.7小结21
第2章数据笼统22
2.1声明与定义22
2.2一个袖珍C库23
2.3放在一同:项目创建工具29
2.4啥对错正常29
2.5基本目标30
2.6啥是目标34
2.7笼统数据类型35
2.8目标细节35
2.9头文件模式36
2.10嵌套结构37
2.11小结41
2.12操练41
第3章隐藏实现42
3.1设置限制42
3.2C++的存取控制42
3.3友元44
3.3.1嵌套友元45
3.3.2它是纯的吗48
3.4目标设计48
3.5类48
3.5.1用存取控制来修复stash50
3.5.2用存取控制来修复stack51
3.6句柄类(handleclasses)51
3.6.1可见的实现部分51
3.6.2削减重复编译52
3.7小结54
3.8操练54
第4章初始化与清除55
4.1用结构函数保证初始化55
4.2用析构函数保证清除56
4.3清除定义块58
4.3.1for循环59
4.3.2空间分配60
4.4富含结构函数和析构函数的stash61
4.5富含结构函数和析构函数的stack63
4.6调集初始化65
4.7缺结构函数67
4.8小结68
4.9操练68
第5章函数重载与缺参数69
5.1范围分化69
5.1.1用回来值重载70
5.1.2安全类型连接70
5.2重载的比如71
5.3缺参数74
5.4小结81
5.5操练82
第6章输入输出流介绍83
6.1为何要用输入输出流83
6.2管理输入输出流问题86
6.2.1预先理解操作符重载86
6.2.2刺进符与获取符87
6.2.3一般用法88
6.2.4面向行的输入90
6.3文件输入输出流91
6.4输入输出流缓冲93
6.5在输入输出流中搜索94
6.6strstreams96
6.6.1为用户分配的存储96
6.6.2自动存储分配98
6.7输出流格式化100
6.7.1内部格式化数据101
6.7.2比如102
6.8格式化操作算子106
6.9建立操作算子108
6.10输入输出流实例111
6.10.1代码生成111
6.10.2一个简单的数据记录117
6.11小结123
6.12操练123
第7章常量124
7.1值代替124
7.1.1头文件里的const124
7.1.2const的安全性125
7.1.3调集126
7.1.4与C言语的区别126
7.2指针127
7.2.1指向const的指针127
7.2.2const指针127
7.2.3赋值和类型检测128
7.3函数参数和回来值128
7.3.1传递const值128
7.3.2回来const值129
7.3.3传递和回来地址131
7.4类133
7.4.1类里的const和enum133
7.4.2编译期间类里的常量134
7.4.3const目标和成员函数136
7.4.4只读存储才能139
7.5可变的(volatile)140
7.6小结141
7.7操练141
第8章内联函数142
8.1预管理器的故障142
8.2内联函数144
8.2.1类内部的内联函数145
8.2.2存取函数146
8.3内联函数和编译器150
8.3.1局限性150
8.3.2赋值次序150
8.3.3在结构函数和析构函数里隐藏行为151
8.4削减紊乱152
8.5预管理器的属性153
8.6改善的错误检测154
8.7小结155
8.8操练155
第9章命名控制157
9.1来自C言语中的静态成员157
9.1.1函数内部的静态变量157
9.1.2控制连接160
9.1.3别的的存储类型指定符161
9.2名称空间161
9.2.1产生一个名称空间162
9.2.2使用名称空间163
9.3C++中的静态成员166
9.3.1定义静态数据成员的存储166
9.3.2嵌套类和局部类168
9.3.3静态成员函数169
9.4静态初始化的依靠要素171
9.5转换连接指定174
9.6小结174
9.7操练174
第10章引证和复制结构函数176
10.1C++中的指针176
10.2C++中的引证176
10.2.1函数中的引证177
10.2.2参数传递原则178
10.3复制结构函数179
10.3.1传值方法传递和回来179
10.3.2复制结构函数182
10.3.3缺复制结构函数187
10.3.4复制结构函数方法的选择188
10.4指向成员的指针

(Origin section: C/C  
Compressed file format DF file
Attachment source: Internet
Operating platform: Windows platform
Is it verified by me: yes
Attachment nature: free
Detailed description: The author of this book uses simple examples and concise descriptions to explain C   programming based on his own personal understanding of learning C   and years of educational experience, which is unique. The book is divided into eighteen chapters, covering the evolution of goals, data abstraction, hidden implementation, initialization and cleanup, function overloading and missing parameters, introduction to input and output streams, constants, inline functions, naming control, citation and copying structure functions, Operator overloading, dynamic target creation, inheritance and composition, polymorphism and virtual functions, templates and container classes, multiple inheritance, exception management, and runtime type recognition. This book is very good as a formal teaching material and self-study book, and it is also very suitable as a reference book for programmers.
Note: There are a total of 6 attachments, which can only be decompressed after the full download is complete.
Table of contents
Translator order
Prelude
Chapter 1 The Evolution of Goals 1
1.1 Basic Concepts 1
1.1.1 Goal: Features   Behavior 1
1.1.2 Inheritance: Type Relationship 1
1.1.3 Polymorphism 2
1.1.4 Operational Concepts: What OOP Programs Look Like 3
1.2 Why C   succeeded 3
1.2.1 Better C3
1.2.2 Choose a progressive learning method 4
1.2.3 Operational efficiency 4
1.2.4 The system is simpler to express and understand 4
1.2.5 "Libraries" make you do more with less 4
1.2.6 Error management 5
1.2.7 Big programming 5
1.3 Introduction to methodology 5
1.3.1 Complexity 5
1.3.2 Internal Principles 6
1.3.3 External Principles 7
1.3.4 The Five Stages of Target Design 9
1.3.5 What the method promises 10
1.3.6 What should the method provide 10
1.4 Drafting: The Minimal Approach 12
1.4.1 Condition 13
1.4.2 High Concept 14
1.4.3 Treatment 14
1.4.4 Structured 14
1.4.5 Development 16
1.4.6 Rewrite 17
1.4.7 Logic 17
1.5 Other methods 17
1.5.1Booch18
1.5.2 Responsibility-Driven Design (RDD) 19
1.5.3 Object Modeling Technology (OMT) 19
1.6 Strategies adopted for the change to OOP 19
1.6.1 Step into OOP19
1.6.2 Management barriers 20
1.7 Summary 21
Chapter 2 General Data 22
2.1 Declarations and Definitions 22
2.2 A pocket C library 23
2.3 Putting it all together: Project creation tools 29
2.4 What is right or wrong is normal 29
2.5 Basic goals 30
2.6 What is the goal 34
2.7 Generic data types 35
2.8 Target details 35
2.9 Header mode 36
2.10 Nested structures 37
2.11 Summary 41
2.12 Exercise 41
Chapter 3 Hidden Implementation 42
3.1 Setting Limits 42
3.2 Access Control in C   42
3.3 Friends 44
3.3.1 Nested Friends 45
3.3.2 Is it pure? 48
3.4 Target Design 48
3.5 Class 48
3.5.1 Fixing stash50 with access control
3.5.2 Repair stack51 with access control
3.6 Handleclasses 51
3.6.1 Visible Implementation Section 51
3.6.2 Reducing Duplicate Compilation 52
3.7 Summary 54
3.8 Exercise 54
Chapter 4 Initialization and Clearing 55
4.1 Guaranteed initialization with struct functions 55
4.2 Guaranteed cleanup with destructors 56
4.3 Clear Definition Block 58
4.3.1 The for loop 59
4.3.2 Space allocation 60
4.4 stash61 rich in structs and destructors
4.5 stack63 rich in structs and destructors
4.6 Assemble initialization 65
4.7 Missing structure functions 67
4.8 Summary 68
4.9 Drill 68
Chapter 5 Function Overloading and Missing Parameters 69
5.1 Scope differentiation 69
5.1.1 Overloading 70 with the returned value
5.1.2 Security Type Connections 70
5.2 Overloaded example 71
5.3 Missing parameters 74
5.4 Summary 81
5.5 Exercise 82
Chapter 6 Introduction to Input and Output Streams 83
6.1 Why use input and output streams 83
6.2 Managing Input and Output Streams 86
6.2.1 Understanding operator overloading in advance 86
6.2.2 Penetration and acquisition 87
6.2.3 General usage 88
6.2.4 Line-Oriented Input 90
6.3 File input and output streams 91
6.4 Input and output stream buffering 93
6.5 Searching in input and output streams 94
6.6 strstreams96
6.6.1 Storage allocated for users 96
6.6.2 Automatic Storage Allocation 98
6.7 Output Stream Formatting 100
6.7.1 Internally formatted data 101
6.7.2 For example 102
6.8 Formatting Operators 106
6.9 Building Operators 108
6.10 Examples of input and output streams 111
6.10.1 Code Generation 111
6.10.2 A simple data record 117
6.11 Summary 123
6.12 Exercise 123
Chapter 7 Constants 124
7.1 value instead of 124
7.1.1 const124 in header files
7.1.2 The safety of const 125
7.1.3 Assembling 126
7.1.4 Differences from C language 126
7.2 Pointers 127
7.2.1 Pointers to const 127
7.2.2 const pointers 127
7.2.3 Assignment and type checking 128
7.3 Function Parameters and Return Values ??128
7.3.1 Passing const values ??128
7.3.2 Return const value 129
7.3.3 Delivery and return addresses 131
7.4 Class 133
7.4.1 const and enum133 in classes
7.4.2 Constants in classes during compilation 134
7.4.3 const objects and member functions 136
7.4.4 Read-only storage capabilities 139
7.5 volatile 140
7.6 Summary 141
7.7 Exercise 141
Chapter 8 Inlining Functions 142
8.1 Failure of the Pre-Manager 142
8.2 Inline functions 144
8.2.1 Inline functions inside classes 145
8.2.2 Access functions 146
8.3 Inline Functions and the Compiler 150
8.3.1 Limitations 150
8.3.2 Order of assignment 150
8.3.3 Hiding behavior in structs and destructors 151
8.4 Reducing disorder 152
8.5 Properties of the premanager 153
8.6 Improved error detection 154
8.7 Summary 155
8.8 Drills 155
Chapter 9 Named Controls 157
9.1 Static members from C 157
9.1.1 Static variables inside functions 157
9.1.2 Control connections 160
9.1.3 Other storage type specifiers 161
9.2 Namespaces 161
9.2.1 Generating a namespace 162
9.2.2 Using namespaces 163
9.3 Static Members in C   166
9.3.1 Defining Storage for Static Data Members 166
9.3.2 Nested and Local Classes 168
9.3.3 Static member functions 169
9.4 The Dependent Elements of Static Initialization 171
9.5 Conversion connection designation 174
9.6 Summary 174
9.7 Drills 174
Chapter 10 Citations and Copying Structural Functions 176
10.1 Pointers in C   176
10.2 Citations in C   176
10.2.1 Citations in functions 177
10.2.2 The principle of parameter passing 178
10.3 Copying Structure Functions 179
10.3.1 Passing and Returning by Value Methods 179
10.3.2 Copying Structure Functions 182
10.3.3 Lack of Copy Structure Functions 187
10.3.4 Choice of Copy Structure Function Method 188
10.4 Pointers to Members)

[下载]15460533448.rar




上一篇:c语言编程
下一篇:c语言好书啊