Deep Exploration C ++ object model note (ch00)

Source: Internet
Author: User

01. It is also a ch00. In my personal sense, it is a good habit for programmers to count from 0, and it is also a kind of sorrow.

02. Good habits are because he already has computer thinking. Sadly, people are not machines.

03. When I am alone in Shenzhen, sometimes I feel unable to express myself.

04. Take the rest of this period of time to supplement your energy.

05. In the past, 60Kg of the weight program was 54 kg. To be honest, I felt a little distressed.

06. If you cannot touch yourself, how can you touch others and how can you touch God?

// Configure //---------------------------------------------------------------------------------------------------------------

I. c ++ veteran

01. Familiar with the language and OO concepts;

02. I am familiar with the language and have an OO idea. I am very interested in the mechanisms below.

> Understanding the C ++ object model will definitely help you improve the language and object-oriented concepts.

> You need to carefully repeat every sentence and every example. Haha!

2. Glossary

> Access level: access level, which is public, private, and protected in C ++.

> Access section: access section. It is the public, private, and protected paragraphs in the class.

> Alignment: easy to adjust to the multiples of some bytes. The result depends on different machines. Generally, 32-bit machines are adjusted to multiples of 4.

> BIND: bind to attach a symbol in the program to an entity.

> Chain: Series

> Class: Class

> Class hierarchy: Class System, class hierarchy.

> Composition: combination. It is usually discussed with inheritance.

> Concrete inheritance: Specific inheritance (relative to abstract inheritance ).

> Constructor: constructor.

> Data member: a data member (also known as member variable ).

> Declaration, declare: Declaration.

> Definition, define: Define (usually with the action of "digging a space in memory ).

> Derived: derived.

> Destructor: deconstruct and destructor.

> Encapsulation: encapsulation.

> Explicit: explicit (usually explicit in C ++ code)

> Hierarchy: System and hierarchy.

> Implement: Implementation (verb)

> Impementation: Implements products and things. Most of the time it refers to the class member function.

> Implicit: Implicit and implicit (usually not found in C ++ code)

> Inheritance: Inherit

> Inline: inline (a keyword of C ++)

> Instance: entity.

> Layout: layout. The data distribution of objects in the memory.

> Mangle: Name cutting and restructuring (C ++ is a method for processing function names ).

> Member function: A member function. It is also called function member.

> Members: Members, generally data member and function member.

> Object: object (a memory-occupied entity completed according to the class Declaration ).

> Offset: the offset position.

> Operand: operands.

> Poerator: operator.

> Overhead: extra burden (additional cost due to a specific design ).

> Overload: heavy load.

> Loverloaded function: overload function.

> Override: rewrite (re-design the Ural function ).

> Paradigm: A Model

> Pointer: pointer.

> Polymorphism: polymorphism.

> Programming: programming and programming.

> Reference: References and parameters ).

> Reference: what is represented by the & operator of C ++.

> Resolve: resolution. When a function is called, The linker associates the symbol with the function entity.

> Slot: a grid (one element) in the table, a hole, an entry, and a grid.

> Subtype: subtype.

> Type: type, category (it refers to built-in types such as int and float, or custom types such as C ++ classed)

> Virtual: virtual.

> Virtual function: virtual function.

> Virtual inheritance: Virtual inheritance.

> External Ural talbe: virtual table (a table designed to implement the virtual mechanism, with the address of putting the virtual function in it ).

-- SZ

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.