Afternoon saw the structure, enumeration type, TypeDef, and finally I have not understood the things are understood, happy
Structs are similar to classes in object-oriented, but there is no way to think of different data types as a whole
An enumeration type is a link between a nonnegative integer and a string constant, such as an enum season {spring,summer,autumn,winter} s; s = Spring (equivalent to S = 0)
typedef is very important, the commonly used notation is typedef type name
It is particularly important to note the notation of struct pointers and function pointers.
typedef struct {int x;inty;} *p,point;
typedef int (*P) (int,int); You can call the original function directly with *p (Int,int)
Note that the essence of declaring pointer variables is to declare the type of address of the same variable, *p itself is not a type, just take that address worth
If the definition initialized is a constant like char *s = ""
2014.12.9 Afternoon C Language Review