C ++ overview:
1.C ++ (object-oriented) three core concepts: encapsulation, inheritance, polymorphism
Difference 2.C language structures and C ++ class:
C language structure member default access for the public
++ Class C default access private members
3. Package:
. A write to variables and functions in a class, implement the package
b do not want to expose to the outside world in members of the privatization private.
4. succession:
. A subclass inherits the parent class members
. B code reuse
5. Polymorphic:
a pointer or reference to the parent class the various forms,
mainly with a pointer that references the parent class or subclass object various operations
6. programming ideas:
A process for: (1) input data (2) logical operations (3) output
. B Object (Object Everything) oriented:
split into question object, the object's properties, the behavior of the object and to analyze the relationship between
7. The relationship between objects and classes: class is an abstract image of the object, and the object is a specific instance of the class