为此,C语言提供了一种称为“枚举”的类型。 ... typedef enum weekday //此处的weekday为枚举名{ Mon = 0, Tues, Wed, Thurs, Fri, Sat, Sun }weekday; ...
確定! 回上一頁