C++ dẫn nhập thêm một số chức năng hướng đối tượng (OO) lên C. Nó cung cấp các lớp mà có 4 chức năng thông dụng trong các ngôn ngữ OO : tính trừu tượng, tính bao đóng, tính đa hình, và tính kế thừa. | ANSI ISO C http tiger ANSI ISO C Professional Programmer s Handbook -- Table of Contents QUE ANSI ISO C Professional Programmer s Handbook Table of Contents CHAPTER 1 - INTRODUCTION The Origins of C ANSI Committee Established C as Opposed to Other Object-Oriented Languages Aim Of the Book Target Audience Organization of the Book CHAPTER 2 - STANDARD BRIEFING THE LATEST ADDENDA TO ANSI ISO C Introduction The Standard s Terminology Addenda Deprecated Feature Conclusions CHAPTER 3 - OPERATOR OVERLOADING Introduction Operator Overloading Rules of Thumb Restrictions on Operator Overloading Conversion Operators Postfix and Prefix Operators Using Function Call Syntax Consistent Operator Overloading Returning Objects by Value file D Cool Stuff old ftp 1 1 1 von 5 14 45 39 ANSI ISO C Professional Programmer s Handbook -- Table of Contents Multiple Overloading Overloading Operators for Other User-Defined types Overloading the Subscripts Operator Function Objects Conclusions CHAPTER 4 - SPECIAL MEMBER FUNCTIONS DEFAULT CONSTRUCTOR COPY CONSTRUCTOR DESTRUCTOR AND ASSIGNMENT OPERATOR Introduction Constructors Copy Constructor Simulating Virtual Constructors Assignment Operator When Are User-Written Copy Constructors And Assignment Operators Needed Implementing Copy Constructor And Assignment Operator Blocking Object Copying Destructors Constructors And Destructors Should Be Minimal Conclusions CHAPTER 5 - OBJECT-ORIENTED PROGRAMMING AND DESIGN Introduction Programming Paradigms Techniques Of Object-Oriented Programming Classes and Objects Designing Class Hierarchies Conclusions CHAPTER 6 - EXCEPTION HANDLING Introduction Traditional Error Handling Methods Enter Exception Handling Applying Exception Handling Exceptions During Object s Construction and Destruction Global Objects Construction and Destruction Advanced Exception Handling Techniques Exception Handling Performance Overhead file D Cool Stuff old ftp 1 1 2 von 5 14 45