C / C learning notes, suitable for medium, advanced.
table of Contents
Chapter 1 Class 31.1 Member Functions 31.2 Solution 31.3 Construction Functions and Destructor 31.3.1 Copy Construction Functions 41.4 Static Member 51.4.1 Static Data Members 51.4.2 Static Member Functions 51.5 Objects as Data Members 6 Second Chapter 2 Inherited and derived 72.1 Derivatives 72.2 Detective Class Structure and Destructor 82.2.1 Definition of Detective Class Constructor and Destructured Function 82.2.2 Vocabulament Function: 92.3 Detective Class Private Member Visit 102.4 Frequent Bastronomy 11 Chapter 3 Polymorphism and Virtual Function 143.1 Polymorphism 143.1.1 Compile Multi-Polymorphism - Overloaded 143.1.2 Runtime Polymorphism - Dian Function 14 Chapter 4 Memory Allocation and Its Management 174.1 Storage 174.1.1 Static Memory 174.1.2 Automatic Memory 174.1.3 Free Store 174.2 New and Delete use 174.3 Free and delete use 194.4 Overloading New and Delete 194.4.1 Local Overload New and Delete 194.4.2 Global Overload New and Delete 20 Chapter 5 Template 215.1 Function Template 215.2 Overload Template Function 215.3 Template 22 Chapter 6 Abnormal Processing 24 Chapter 7 I / O and flow 267.1 I / O stream 267.2 file I / O 277.2.1 read and write text file 277.2.1 Binary operation 287.3 stream 28 Chapter 8 Other 308.1 Container 308.2 Names Space 30 Appendix: 32