(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)