typedef int length;// length代替int
length a=3;
typedef int* POINTER1;
POINTER1 c,d;// 等同于int* c;int* d;
typedef struct Adate{
int month;
int day;
int year;
}Date;// Date代替了struct Adate
Date d={5,3,2};
// Point就表示了这个数据结构
typedef struct{
int x;
int y;
}Point;
typedef char* Strings[10];// Strings代表 char*[10]
Strings ml;// Strings ml就相当于char* ml[10];
typedef int Num[100];// Num代表 int[100]
Num a;// 等价于int a[100]
cout<<abi::__cxa_demangle(typeid(a).name(),0,0,0 )<<endl;
枚举
https://www.cnblogs.com/wen-ge/articles/5807509.html
https://zhuanlan.zhihu.com/p/81221267
http://c.biancheng.net/cpp/html/100.html