例子:type dayofweek=(sun,mon,tue,wed,thu,fri,sat);
以後妳用到dayofweek類型的數據,其值是卻只能是上面括號裏列出的其中壹個,比如是sun,mon等等,,枚舉的意思就是把值壹壹列出,,