1, "&" generally means: with, reference, take address.
2, "*" There are basically 3 kinds of semantics:
- Used to define pointers, such as: int *p;
- Used to get the target pointed to by the pointer, such as: *p=10;
- The basic operator (multiplied mathematically).
3, ":" Reference: http://blog.csdn.net/zimingjushi/article/details/6549390/
3, "::" Class scope operator. "::" indicates the class to which the member function belongs. For example: M::f (s) means that f (s) is a member function of class M.
4, "--" and "." The functionality of the implementation is the same as accessing a member variable or member function of a class, "." For normal variable operations, "--" can only be used for pointer variable operations. For example: If A is a pointer to an object, A->f (s) represents the member function f (s) in the object referred to by a.
Introduction to commonly used special symbols in C + + (&, *,:,::,)