本文介紹瞭如何在C 語言中使用typedef enum。 ... state = input1; switch (state) { case RUNNING: printf("Machine is running\n"); break; ...
確定! 回上一頁