1 Pocket C library
2 corresponding problem
3 Basic Object
C ++ allows any type from pointer void *
4 What is the object
5 abstract data types
6 Object details
7 file format
Possible problems: If a struct declaration in a header file, it is possible to include this header file multiple times in a compiled program
#ifndef
#define XXXXX
struct stack{}*head;
#endif
Header file namespace: using namespace std;
8 nested structure
#ifndef xxx
#define xxx
struct stack{
struct link{}*head;
void .....
};
#endif
Reproduced in: https: //my.oschina.net/u/204616/blog/545287