enum Action{stop, sit, stand, walk, run};. 例中宣告一個列舉型態 Action ,大括號中每一個元素稱為列舉元( enumerator ) ...
確定! 回上一頁