可能重複: Easy way to use variables of enum types as string in C? 除了手動方式外,有沒有什麼優雅的方法可以將使用者輸入字串轉換為列舉值呢?
確定! 回上一頁