找回密码
 立即注册
函数操练Functions小结 | 企业管理 2022-09-22 74 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
C++高档参考手册PDF.rar目录译者序前语第1章目标的演化11.1基本概念11.1.1目标:特性+行为11.1.2承继:类型关系11.1.3多态性21.1.4操作概念:OOP程序像啥31.2为啥C++会成功31.2.1较好的C31.2.2选用渐进的学习方法41.2.3运行效率41.2.4系统更简单表达和理解41.2.5“库”使你事半功倍41.2.6错误管理51.2.7大程序设计51.3方法学介绍51.3.1复杂性51.3.2内部原则61.3.3外部原则71.3.4目标设计的五个时期91.3.5方法承诺啥101.3.6方法应当提供啥101.4起草:最小的方法121.4.1条件131.4.2高概念141.4.3论说(treatment)141.4.4结构化141.4.5开发161.4.6重写171.4.7逻辑171.5别的方法171.5.1Booch181.5.2职责驱动的设计(RDD)191.5.3目标建模技术(OMT)191.6为向OOP改变而采纳的策略191.6.1逐渐进入OOP191.6.2管理妨碍201.7小结21第2章数据笼统222.1声明与定义222.2一个袖珍C库232.3放在一起:项目创建工具292.4啥对错正常292.5基本目标302.6啥是目标342.7笼统数据类型352.8目标细节352.9头文件方法362.10嵌套结构372.11小结412.12操练41第3章隐藏实现423.1设置限制423.2C++的存取控制423.3友元443.3.1嵌套友元453.3.2它是纯的吗483.4目标布局483.5类483.5.1用存取控制来修复stash503.5.2用存取控制来修复stack513.6句柄类(handleclasses)513.6.1可见的实现部分513.6.2削减重复编译523.7小结543.8操练54第4章初始化与清除554.1用结构函数保证初始化554.2用析构函数保证清除564.3清除定义块584.3.1for循环594.3.2空间分配604.4富含结构函数和析构函数的stash614.5富含结构函数和析构函数的stack634.6调集初始化654.7缺结构函数674.8小结684.9操练68第5章函数重载与缺参数695.1范围分化695.1.1用回来值重载705.1.2安全类型连接705.2重载的比如715.3缺参数745.4小结815.5操练82第6章输入输出流介绍836.1为啥要用输入输出流836.2管理输入输出流问题866.2.1预先理解操作符重载866.2.2刺进符与提取符876.2.3一般用法886.2.4面向行的输入906.3文件输入输出流916.4输入输出流缓冲936.5在输入输出流中搜索946.6strstreams966.6.1为用户分配的存储966.6.2自动存储分配986.7输出流格式化1006.7.1内部格式化数据1016.7.2比如1026.8格式化操作算子1066.9搭建操作算子1086.10输入输出流实例1116.10.1代码生成1116.10.2一个简单的数据记录1176.11小结1236.12操练123第7章常量1247.1值代替1247.1.1头文件里的const1247.1.2const的安全性1257.1.3调集1267.1.4与C言语的区别1267.2指针1277.2.1指向const的指针1277.2.2const指针1277.2.3赋值和类型检测1287.3函数参数和回来值1287.3.1传递const值1287.3.2回来const值1297.3.3传递和回来地址1317.4类1337.4.1类里的const和enum1337.4.2编译时期类里的常量1347.4.3const目标和成员函数1367.4.4只读存储才能1397.5可变的(volatile)1407.6小结1417.7操练141第8章内联函数1428.1预管理器的故障1428.2内联函数1448.2.1类内部的内联函数1458.2.2存取函数1468.3内联函数和编译器1508.3.1局限性1508.3.2赋值次序1508.3.3在结构函数和析构函数里隐藏行为1518.4削减混乱1528.5预管理器的特点1538.6改善的错误检测1548.7小结1558.8操练155第9章命名控制1579.1来自C言语中的静态成员1579.1.1函数内部的静态变量1579.1.2控制连接1609.1.3别的的存储类型指定符1619.2名称空间1619.2.1生成一个名称空间1629.2.2使用名称空间1639.3C++中的静态成员1669.3.1定义静态数据成员的存储1669.3.2嵌套类和局部类1689.3.3静态成员函数1699.4静态初始化的依靠要素1719.5转换连接指定1749.6小结1749.7操练174第10章引证和复制结构函数17610.1C++中的指针17610.2C++中的引证17610.2.1函数中的引证17710.2.2参数传递原则17810.3复制结构函数17910.3.1传值方法传递和回来17910.3.2复制结构函数18210.3.3缺复制结构函数18710.3.4复制结构函数方法的选择18810.4指向成员的指针

(C   Advanced Reference Manual PDF.rar Contents Translator Preface Chapter 1 Evolution of Objectives 11.1 Basic Concepts 11.1.1 Objectives: Properties   Behavior 11.1.2 Inheritance: Type Relationships 11.1.3 Polymorphism 21.1.4 Operational Concepts: OOP 31.2 Why C   will succeed 31.2.1 Better C31.2.2 Use progressive learning methods Management 51.2.7 Program Design 51.3 Introduction to Methodology 51.3.1 Complexity 51.3.2 Internal Principles 61.3.3 External Principles 71.3.4 The Five Periods of Objective Design 91.3.5 What the Method Commits 101.3.6 What the Method Should Provide 101.4 Drafting : Minimal Methods 121.4.1 Conditions 131.4.2 High Concepts 141.4.3 Treatment 141.4.4 Structural 141.4.5 Development 161.4.6 Rewriting 171.4.7 Logic 171.5 Other Methods 171.5.1 Booch 181.5.2 Responsibility Driven Design (RDD) 191.5.3 Object Modeling Techniques (OMT) 191.6 Strategies for the Change to OOP 191.6.1 Gradually Entering OOP 191.6.2 Managing Obstacles 201.7 Summary 21 Chapter 2 Generalizations 222.1 Declarations and Definitions 222.2 A Pocket C Library 232.3 Putting It Together: Project Creation Tools 292.4 What Is Right or Wrong 292.5 Basic Goals 302.6 What Are Goals 342.7 General Data Types 352.8 Goal Details 352.9 Header Methods 362.10 Nested Structures 372.11 Summary 412.12 Exercises 41 Chapter 3 Hidden Implementations 423.1 Setting Limits 423.2 C   ACCESS-CONTROL 423.3 Friends 443.3.1 Nested Friends 453.3.2 Is it pure 483.4 Target layout 483.5 Classes 483.5.1 Fixing stash with ACCs 503.5.2 Fixing stacks with ACCs 513.6 Handle classes (handleclasses) 513.6.1 Visible Implementation Section 513.6.2 Reducing Duplicate Compilation 523.7 Summary 543.8 Drill 54 Chapter 4 Initialization and Cleanup 554.1 Guaranteed Initialization with Struct Functions 554.2 Guaranteed Cleanup with Destructor Functions 564.3 Cleanup Defined Blocks 584.3.1 For Loops 594.3. 2 Space allocation 604.4 Stash rich in struct and destructor 614.5 stack rich in struct and destructor 634.6 Call initialization 654.7 Missing struct 674.8 Summary 684.9 Drill 68 Chapter 5 Function overloading and missing parameters 695.1 Scope Differentiation 695.1.1 overload with return value 705.1.2 safe type connection 705.2 overloaded such as 715.3 missing parameter 745.4 small 815.5 Practice 82 Chapter 6 Introduction to Input and Output Streams 836.1 Why Use Input and Output Streams 836.2 Managing Input and Output Streams 866.2.1 Understanding Operator Overloading in Advance 866.2.2 Insertion and Extractor 876.2.3 General Usage 886.2.4 Orientation Line Input 906.3 File Input Output Streams 916.4 Input Output Streams Buffering 936.5 Searching Input Output Streams 946.6 strstreams 966.6.1 User-Allocated Storage 966.6.2 Automatic Storage Allocation 986.7 Output Stream Formatting 1006.7.1 Internally Formatted Data 1016.7.2 For example, 1026.8 Formatting operator 1066.9 Building operator 1086.10 Input and output stream instance 1116.10.1 Code generation 1116.10.2 A simple data record 1176.11 Summary 1236.12 Exercise 123 Chapter 7 Constant 1247.1 The value replaces const1247 in the 1247.1.1 header file .1.2 Safety of const 1257.1.3 Calling 1267.1.4 Differences from C language 1267.2 Pointers 1277.2.1 Pointers to const 1277.2.2 Pointers to const 1277.2.3 Assignment and type detection 1287.3 Function parameters and return values ??1287.3.1 Passing const values 1287.3.2 return const value 1297.3.3 pass and return address 1317.4 class 1337.4.1 const in class and enum (volatile) 1407.6 Summary 1417.7 Exercises 141 Chapter 8 Inline Functions 1428.1 Trouble with the Pre-Manager 1428.2 Inline Functions 1448.2.1 Inline Functions Inside Classes 1458.2.2 Access Functions 1468.3 Inline Functions and the Compiler 1508.3.1 Limitations Properties 1508.3.2 Assignment order 1508.3.3 Hiding behavior in structs and destructors 1518.4 Reducing confusion 1528.5 Features of pre-managers 1538.6 Improved error detection 1548.7 Summary 1558.8 Exercises 155 Chapter 9 Named Control 1579.1 Statics from C Member 1579.1.1 Static variable 1579.1.2 inside function controls connection 1609.1.3 Other storage type specifier 1619.2 Namespace 1619.2.1 Generates a namespace 1629.2.2 Defined using static member 1669.3.1 in namespace 1639.3 C   Storage of static data members 1669.3.2 Nested and local classes 1689.3.3 Static member functions 1699.4 Dependent elements of static initialization 1719.5 Conversion connection specification 1749.6 Minor Conclusion 1749.7 Exercises 174 Chapter 10 Citations and Copying Structure Functions 17610.1 Pointers in C   17610.2 Citations in C   17610.2.1 Citations in Functions 17710.2.2 Principles of Parameter Passing 17810.3 Copying Structure Functions 17910.3.1 Passing and Returning by Value Methods 17910.3. 2 Copy structure function 18210.3.3 Missing copy structure function 18710.3.4 Selection of copy structure function method 18810.4 Pointer to member)

[下载]15474057251.rar




上一篇:c语言详细教程
下一篇:C++STL程序员开发指南