在struct中使用enum已經試過沒問題了. 可是如果在struct指標裡用enum. 在執行的時候就會core dumped(是記憶體區段錯誤). 如果我用. typedef struct
確定! 回上一頁