自定义类型 一、类型别名 类型别名,即为已有类型另外别名 1. 方法一:typedef typedef 已有类型名 新类型名 新类型名; typedef double Area, Volume; typedef int Natural; Natural i1, i2; Area a; Volume v; 2. 方法二:using using 新类型名